|
@@ -1,8 +1,6 @@
|
|
|
[[analysis-synonym-graph-tokenfilter]]
|
|
|
=== Synonym Graph Token Filter
|
|
|
|
|
|
-beta[]
|
|
|
-
|
|
|
The `synonym_graph` token filter allows to easily handle synonyms,
|
|
|
including multi-word synonyms correctly during the analysis process.
|
|
|
|
|
@@ -187,3 +185,8 @@ multiple versions of a token may choose which version of the token to emit when
|
|
|
parsing synonyms, e.g. `asciifolding` will only produce the folded version of the
|
|
|
token. Others, e.g. `multiplexer`, `word_delimiter_graph` or `ngram` will throw an
|
|
|
error.
|
|
|
+
|
|
|
+WARNING:The synonym rules should not contain words that are removed by
|
|
|
+a filter that appears after in the chain (a `stop` filter for instance).
|
|
|
+Removing a term from a synonym rule breaks the matching at query time.
|
|
|
+
|