Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

clarified javadoc

Wolfgang Hoscheke7ed9203c044
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
index ed9fbbbf57a..995a77a75d4 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
@@ -223,9 +223,12 @@ public class MemoryIndex {
/**
* Convenience method; Tokenizes the given field text and adds the resulting
- * terms to the index; Equivalent to adding a tokenized, indexed,
- * termVectorStored, unstored, non-keyword Lucene
- * {@link org.apache.lucene.document.Field}.
+ * terms to the index; Equivalent to adding an indexed non-keyword Lucene
+ * {@link org.apache.lucene.document.Field} that is
+ * {@link org.apache.lucene.document.Field.Index#TOKENIZED tokenized},
+ * {@link org.apache.lucene.document.Field.Store#NO not stored},
+ * {@link org.apache.lucene.document.Field.TermVector#WITH_POSITIONS termVectorStored with positions} (or
+ * {@link org.apache.lucene.document.Field.TermVector#WITH_POSITIONS termVectorStored with positions and offsets}),
*
* @param fieldName
* a name to be associated with the text