Query Manipulation Server 26.2
Query Manipulation Server Help

# DictionaryMinNGram

The minimum size of NGram fragments to consider for the TypeAhead action, when the Mode action parameter is set to `Dictionary` and the Behavior action parameter is set to `Substring`.

In dictionary mode, QMS uses N-grams to tokenize the dictionary words for expansion. An N-gram is a text fragment, made up of N characters. For example, if you divide the word hello up in N-grams of size two, you get the fragments `he el ll lo`.

`DictionaryMinNGram` sets the minimum size of N-gram that QMS uses when querying for terms in the type ahead dictionary. You might want to increase this value to get fewer type ahead matches (for example, if you set `DictionaryMinNGram` to 5, QMS does not return any suggestions until you have at least five characters). In this case you must also increase the value of DictionaryMaxNGram. In most cases, you do not need to change the default values.

Type: | Integer
Default: | 2
Required: |
Configuration Section: | [TypeAhead]
Example: | `DictionaryMinNGram=2`
See Also: | TypeAhead action Behavior parameter DictionaryMaxNGram

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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: Knowledge Discovery Query Manipulation Server 26.2

Topic Title: DictionaryMinNGram