Lucene.Net 1.9.1 Class Library

Field Constructor

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.

Overload List

Create a stored field with binary value. Optionally the value may be compressed.

public Field(string,byte[],Store);

Create a tokenized and indexed field that is not stored. Term vectors will not be stored.

public Field(string,TextReader);

Create a tokenized and indexed field that is not stored, optionally with storing term vectors.

public Field(string,TextReader,TermVector);

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 Field(string,string,Store,Index);

Create a field by specifying its name, value and how it will be saved in the index.

public Field(string,string,Store,Index,TermVector);

Create a field by specifying all parameters except for

storeTermVector
, which is set to
false
.

public Field(string,string,bool,bool,bool);

public Field(string,string,bool,bool,bool,bool);

See Also

Field Class | Lucene.Net.Documents Namespace