Apache Lucene open-source search software
Add warning about inability to consume an input token graph to the Synonym Graph Filter and Managed Synonym Graph Filter entries
Steve Rowedd90bfbe871a
diff --git a/solr/solr-ref-guide/src/filter-descriptions.adoc b/solr/solr-ref-guide/src/filter-descriptions.adocindex 09dd0f61d09..267e53b6787 100644--- a/solr/solr-ref-guide/src/filter-descriptions.adoc+++ b/solr/solr-ref-guide/src/filter-descriptions.adoc@@ -831,6 +831,8 @@ This is specialized version of the <<Synonym Graph Filter>> that uses a mappingThis filter maps single- or multi-token synonyms, producing a fully correct graph output. This filter is a replacement for the Managed Synonym Filter, which produces incorrect graphs for multi-token synonyms.+Note: although this filter produces correct token graphs, it cannot consume an input token graph correctly.+*Arguments:*`managed`:: The name that should be used for this mapping on synonyms in the managed REST API.@@ -1435,6 +1437,8 @@ This filter maps single- or multi-token synonyms, producing a fully correct grapIf you use this filter during indexing, you must follow it with a Flatten Graph Filter to squash tokens on top of one another like the Synonym Filter, because the indexer can't directly consume a graph. To get fully correct positional queries when your synonym replacements are multiple tokens, you should instead apply synonyms using this filter at query time.+Note: although this filter produces correct token graphs, it cannot consume an input token graph correctly.+*Factory class:* `solr.SynonymGraphFilterFactory`*Arguments:*