Document restrictions on fuzzy matching when using synonyms (#40783)

Relates to #25518
This commit is contained in:
Alan Woodward 2019-04-04 09:07:42 +01:00 committed by Alan Woodward
parent f5f5c3e429
commit 8ca7325f65
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ rewritten.
Fuzzy transpositions (`ab` -> `ba`) are allowed by default but can be disabled Fuzzy transpositions (`ab` -> `ba`) are allowed by default but can be disabled
by setting `fuzzy_transpositions` to `false`. by setting `fuzzy_transpositions` to `false`.
Note that fuzzy matching is not applied to terms with synonyms, as under the hood
these terms are expanded to a special synonym query that blends term frequencies,
which does not support fuzzy expansion.
Here is an example when providing additional parameters (note the slight Here is an example when providing additional parameters (note the slight
change in structure, `message` is the field name): change in structure, `message` is the field name):