Lucene.Net 1.4.3 Class Library

Field.Keyword Method

Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.

Overload List

Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.

public static Field Keyword(string,DateTime);

Constructs a String-valued Field that is not tokenized, but is indexed and stored. Useful for non-text fields, e.g. date or url.

public static Field Keyword(string,string);

See Also

Field Class | Lucene.Net.Documents Namespace