Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fix javadocs

Michael McCandlessdea07470847f
diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
index c59c7040bb6..1c4c05ee879 100644
--- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
+++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingSuggester.java
@@ -74,10 +74,9 @@ import org.apache.lucene.util.fst.Util;
* example, if you use an analyzer removing stop words,
* then the partial text "ghost chr..." could see the
* suggestion "The Ghost of Christmas Past". Note that
- * your stop filter must NOT preserve position increments
- * for this to work, which means you cannot use the {@code
- * StopFilter} from the analysis module because it always
- * preserves position increments.
+ * your {@code StopFilter} instance must NOT preserve
+ * position increments for this example to work, so you should call
+ * {@code setEnablePositionIncrements(false)} on it.
*
* <p>
* If SynonymFilter is used to map wifi and wireless network to