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.
Namespace: Lucene.Net.DocumentsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public Field( string name, TextReader reader ) |
Visual Basic |
---|
Public Sub New ( _ name As String, _ reader As TextReader _ ) |
Visual C++ |
---|
public: Field( String^ name, TextReader^ reader ) |
Parameters
- name
- Type: System..::..String
The name of the field
- reader
- Type: System.IO..::..TextReader
The reader with the content