Query Manipulation Server 26.2
Query Manipulation Server Help

# DictionaryMaxNGram

The maximum 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`.

`DictionaryMaxNGram` sets the maximum size of NGram that QMS uses when querying for terms in the type ahead dictionary. In most cases you do not need to change this value from the default.

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

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: DictionaryMaxNGram