Spellchecking configuration is editable via a dedicated screen in the back-office.
It can be accessed by going to ELASTICSUITE > Search Engine > Search Relevance > Spellchecking Configuration.
Search Fuzziness Configuration
Fuzzy queries uses a distance algorithm to calculate matching terms within a specified edit distance related to the current search terms. This is used to fix misspelled terms in queries.
See also the official documentation here : ElasticSearch Fuzzy Query
Parameter | Default value | Description |
---|---|---|
Enable fuzziness | Yes | Set it to “Yes” to enable fuzzy queries to the engine. |
Fuzziness value | Automatic | The maximum edit distance for a fuzzy query. AUTOMATIC : spellchecking will be ajusted according to word length. 1 : only one edit authorized. 2 : two edits authorized. More informations in the fuzzy query documentation. |
Fuzziness Prefix Length | 1 | The number of initial characters that must not be “fuzzified”. More informations in the fuzzy query documentation. |
Fuzziness Max. expansion | 10 | Maximum number of terms the fuzzy query will expand to. More informations in the fuzzy query documentation. |
Phonetic Search Configuration
This requires the Phonetic Analysis Plugin : Phonetic Analysis Plugin
Phonetic search provides a variety of filters that convert tokens to their phonetic representation.
Phonetic search can be also improved with fuzziness. The parameters are used the same way as described above.
Official documentation related to phonetic search : ElasticSearch Phonetic Search
Parameter | Default value | Description |
---|---|---|
Enable phonetic search | Yes | Set it to “Yes” to enable phonetic search. |