Query Manipulation Server 24.3

# Create a Dictionary File

To use the `Dictionary` mode for the TypeAhead action, you must provide a dictionary file. This file contains a list of the words and phrases that you want to use as suggestions. It optionally also contains a score for each value, to determine the order in which they return in a results list.

The dictionary file must have one phrase on each line, in the format:

    phrase,score

where `phrase` is the word or phrase that you want to use as a suggestion, and `score` is the score for that word or phrase. The score can be a positive or negative integer (terms with a higher score return first in a results list). If you do not add a score value, the default score is zero. The minimum allowed score value is -230, and the maximum allowed score is 230-1

For example:

    gold,15
    gold mine,10
    government,25
    government agency,20
    golf,20
    golfer,19
    gopher,12
    gotcha,-10
    gone

Copyright 2024 Open Text
Version 24.3 | Last updated June 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Query Manipulation Server 24.3

Topic Title: Create a Dictionary File