# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm