Skip to content

Commit

Permalink
Document restrictions on fuzzy matching when using synonyms (#40783)
Browse files Browse the repository at this point in the history
Relates to #25518 #41592
  • Loading branch information
romseygeek authored and debadair committed Apr 26, 2019
1 parent 21c7608 commit 33d6898
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/reference/query-dsl/match-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ rewritten.
Fuzzy transpositions (`ab` -> `ba`) are allowed by default but can be disabled
by setting `fuzzy_transpositions` to `false`.

Here is an example when providing additional parameters (note the slight
change in structure, `message` is the field name):
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.

[source,js]
--------------------------------------------------
Expand Down

0 comments on commit 33d6898

Please sign in to comment.