IDOL Server 12.12

# 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.

To enable the phrase index

1. Open the IDOL Content component configuration file in a text editor.

2. In the `[Server]` section, set `EnablePhraseIndex` to `True`.

3. 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.

4. Save and close the configuration file.

5. 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.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.12

Topic Title: Enable the Phrase Index