Skip to content

Commit 78f0287

Browse files
committed
[Docs] Clarify behaviour of Pattern Capture Token Filter during search
There was some confusion about the fact that tokens emitted from a Pattern Capture Token Filter are treated as synonyms when used to analyze a search query. This commit adds an explanation to the note in the docs to emphasize this behaviour. Closes elastic#25746
1 parent 65c3533 commit 78f0287

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/reference/analysis/tokenfilters/pattern-capture-tokenfilter.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,7 @@ not:
147147
--------------------------------------------------
148148
john-<em>smith</em>[email protected]
149149
--------------------------------------------------
150+
151+
When used to analyze a search query, all tokens emitted by the filter
152+
are going to be treated as synonyms of the token in the original position,
153+
so any of those tokens will be considered as a match candidate.

0 commit comments

Comments
 (0)