Skip to content

Commit 8d5b75e

Browse files
authored
Document restrictions on fuzzy matching when using synonyms (#40783)
Relates to #25518
1 parent 8cf4eb3 commit 8d5b75e

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
@@ -75,6 +75,10 @@ rewritten.
7575
Fuzzy transpositions (`ab` -> `ba`) are allowed by default but can be disabled
7676
by setting `fuzzy_transpositions` to `false`.
7777

78+
Note that fuzzy matching is not applied to terms with synonyms, as under the hood
79+
these terms are expanded to a special synonym query that blends term frequencies,
80+
which does not support fuzzy expansion.
81+
7882
[source,js]
7983
--------------------------------------------------
8084
GET /_search

0 commit comments

Comments
 (0)