Skip to content

Commit ca998d2

Browse files
romseygeekdebadair
authored andcommitted
Document restrictions on fuzzy matching when using synonyms (#40783)
Relates to #25518 #41592
1 parent 4d939d8 commit ca998d2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/reference/query-dsl/match-query.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ rewritten.
5656
Fuzzy transpositions (`ab` -> `ba`) are allowed by default but can be disabled
5757
by setting `fuzzy_transpositions` to `false`.
5858

59-
Here is an example when providing additional parameters (note the slight
60-
change in structure, `message` is the field name):
59+
Note that fuzzy matching is not applied to terms with synonyms, as under the hood
60+
these terms are expanded to a special synonym query that blends term frequencies,
61+
which does not support fuzzy expansion.
6162

6263
[source,js]
6364
--------------------------------------------------

0 commit comments

Comments
 (0)