|
|
@@ -116,9 +116,8 @@ And it'd respond:
|
|
|
duplicate of this token it has been removed from the token stream
|
|
|
|
|
|
NOTE: The synonym and synonym_graph filters use their preceding analysis chain to
|
|
|
-parse and analyse their synonym lists, and ignore any token filters in the chain
|
|
|
-that produce multiple tokens at the same position. This means that any filters
|
|
|
-within the multiplexer will be ignored for the purpose of synonyms. If you want to
|
|
|
-use filters contained within the multiplexer for parsing synonyms (for example, to
|
|
|
-apply stemming to the synonym lists), then you should append the synonym filter
|
|
|
-to the relevant multiplexer filter list.
|
|
|
+parse and analyse their synonym lists, and will throw an exception if that chain
|
|
|
+contains token filters that produce multiple tokens at the same position.
|
|
|
+If you want to apply synonyms to a token stream containing a multiplexer, then you
|
|
|
+should append the synonym filter to each relevant multiplexer filter list, rather than
|
|
|
+placing it after the multiplexer in the main token chain definition.
|