Name | Type | Default value | Description |
---|---|---|---|
timeoutMS | int | 500 | |
unavailableDictionaryAction | enum(error, ignore) | error | Action to execute if the dictionary cannot be contacted for expansion. • error: fails the query • ignore: does not perform expansion, then continues |
unavailableDictionaryReportMode | enum(quiet, global, local) | global | Value can be null or one of • quiet • global • local |
detectCJ | boolean | Tries to detect Chinese and Japanese in the query and override the language of the request accordingly. If false, it uses the user-specified language for expansion. | |
langDetect | boolean | True | Tries to detect the text language from its unicode range. If false, it uses the user-specified language for expansion (xx is the default one). |
langDetectThreshold | double | 0.6 | If langDetect is True, it tries to detect the text language. That language will be used only if its proportion is superior to langDetectThreshold of the string length |
longFormsPruningThreshold | int | 20 | Prunes forms spanning several shorter forms from query nodes larger than N tokens, to avoid combination. |
performExactPhraseExpansion | boolean | Activates query expansion on expressions contained within quotation marks. |
Name | Type | Description |
---|---|---|
LangDetectMapping | com.exalead.linguistic.v10.LangDetectMapping |