- addField(String, String, Analyzer) - Method in class org.apache.lucene.index.memory.MemoryIndex
-
Convenience method; Tokenizes the given field text and adds the resulting
terms to the index; Equivalent to adding an indexed non-keyword Lucene
Field that is
tokenized,
not stored,
termVectorStored with positions (or
termVectorStored with positions and offsets),
- addField(String, TokenStream) - Method in class org.apache.lucene.index.memory.MemoryIndex
-
Equivalent to addField(fieldName, stream, 1.0f).
- addField(String, TokenStream, float) - Method in class org.apache.lucene.index.memory.MemoryIndex
-
Iterates over the given token stream and adds the resulting terms to the index;
Equivalent to adding a tokenized, indexed, termVectorStored, unstored,
Lucene Field.