Skip to content

Commit fe5fdf7

Browse files
romseygeekGurkan Kaymak
authored and
Gurkan Kaymak
committed
Document restrictions on fuzzy matching when using synonyms (elastic#40783)
Relates to elastic#25518
1 parent 1ff9a96 commit fe5fdf7

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)