You can modify these APICP settings by adjusting these flags to modify the Metamorph control parameters below. These are covered elsewhere in relation to their use in Texis, Vortex, or the Metamorph API; see the appropriate manual. The settings are:
w/
delimiters in hits (always on for w/N
).
w/
delimiters in hits (always on for w/N
).
w/
) operator.
@
).
Note that the default values for these (and other) settings may vary
between Vortex, the Search Appliance, tsql
and the Metamorph
API. See the section on "Differences Between Vortex, tsql and
Metamorph API" in the Vortex manual for a list of differences.
The easiest way to make use of these settings is in a Vortex script, e.g.:
<apicp suffixproc 1>
In tsql
, they can be altered with a SQL set
statement:
tsql "set suffixproc=1; select ..."
The various C APIs have their own calls, e.g. n_setsuffixproc()
.
Some of the settings can also be changed inline with the query, for example: horse @minwordlen=3 cat. Such inline settings will apply to all terms after the setting.
You can also create thesaurus entries that apply specific settings, for example the thesaurus entry:
battery={@suffixproc=0,battery,batteries}
could be used to give exact word forms for just a specific word in a query. I.e. only the words battery and batteries will match for battery: no suffix processing for other suffixes will be done for that term, though such processing may be done for other terms. The { and } curly braces are required to enable inline settings in an equiv list. Also, the settings should be given first in the list, so that they apply to all the words in the list.
To use inline settings in a query-specified equiv list, you will need to escape the = which is special, e.g.:
"cell phone" ({@suffixproc\=0,battery,batteries})
The following settings may be specified inline: