Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

fix wrong FST javadoc

Michael McCandless105d4ddad001
diff --git a/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java b/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
index 616ecb54bd7..22734186bbe 100644
--- a/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
+++ b/lucene/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
@@ -25,8 +25,10 @@ import org.apache.lucene.store.DataOutput;
/**
* Output is a long, for each input term. NOTE: the
* resulting FST is not guaranteed to be minimal! See
- * {@link Builder}. You cannot store 0 output with this
- * (that's reserved to mean "no output")!
+ * {@link Builder}. You must use {@link #get} to obtain the
+ * output for a given long value -- do not use autoboxing
+ * nor create your own Long instance (the value 0
+ * must map to the {@link #getNoOutput} singleton).
*
* @lucene.experimental
*/