Enable the Phrase Index
The IDOL Content component phrase index stores short phrases from your index, for use with the TermExpand
action phrase expansion. The TermExpand
phrase expansion, and the phrase index is also used by Query Manipulation Server (QMS) TypeAhead
action in index mode to find phrases.
The phrase index is not enabled by default, because it uses additional memory and on-disk storage, and adds overhead at index time. Micro Focus recommends that you enable the phrase index only if you want to use phrase expansion.
- Open the IDOL Content component configuration file in a text editor.
-
In the
[Server]
section, setEnablePhraseIndex
toTrue
. -
Set any other optional parameters for the phrase index. For example,
PhraseIndexMaxTerms
controls the lengths of the phrases that Content stores (and therefore the length of the phrases is can expand).Other parameters (starting with the prefix
PhraseIndex
) control the memory usage for the phrase index, and the frequency that phrases must have in your index for them to be stored in the phrase index.For more information, refer to the IDOL Content component Reference.
-
Save and close the configuration file.
-
Restart the IDOL Content component for your changes to take effect.
TIP: To enable the phrase index in an existing Content index, you can set RegeneratePhraseIndex
to generate the required phrase index files at startup.
For more information about TermExpand
, refer to the IDOL Content component Reference. For more information about TypeAhead
in QMS, refer to the Query Manipulation Server Reference.