Skip to content

Commit 8ca7325

Browse files
committed
Document restrictions on fuzzy matching when using synonyms (#40783)
Relates to #25518
1 parent f5f5c3e commit 8ca7325

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

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

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

0 commit comments

Comments
 (0)