Overload List

  NameDescription
Public methodField(String, TokenStream)
Create a tokenized and indexed field that is not stored. Term vectors will not be stored. This is useful for pre-analyzed fields. The TokenStream is read only when the Document is added to the index, i.e. you may not close the TokenStream until {@link IndexWriter#AddDocument(Document)} has been called.
Public methodField(String, TextReader)
Create a tokenized and indexed field that is not stored. Term vectors will not be stored. The Reader is read only when the Document is added to the index, i.e. you may not close the Reader until {@link IndexWriter#AddDocument(Document)} has been called.
Public methodField(String, TokenStream, Field..::..TermVector)
Create a tokenized and indexed field that is not stored, optionally with storing term vectors. This is useful for pre-analyzed fields. The TokenStream is read only when the Document is added to the index, i.e. you may not close the TokenStream until {@link IndexWriter#AddDocument(Document)} has been called.
Public methodField(String, array<Byte>[]()[][], Field..::..Store)
Create a stored field with binary value. Optionally the value may be compressed.
Public methodField(String, TextReader, Field..::..TermVector)
Create a tokenized and indexed field that is not stored, optionally with storing term vectors. The Reader is read only when the Document is added to the index, i.e. you may not close the Reader until {@link IndexWriter#AddDocument(Document)} has been called.
Public methodField(String, String, Field..::..Store, Field..::..Index)
Create a field by specifying its name, value and how it will be saved in the index. Term vectors will not be stored in the index.
Public methodField(String, array<Byte>[]()[][], Int32, Int32, Field..::..Store)
Create a stored field with binary value. Optionally the value may be compressed.
Public methodField(String, String, Field..::..Store, Field..::..Index, Field..::..TermVector)
Create a field by specifying its name, value and how it will be saved in the index.
Public methodField(String, Boolean, String, Field..::..Store, Field..::..Index, Field..::..TermVector)
Create a field by specifying its name, value and how it will be saved in the index.

See Also