Index the field's value without using an Analyzer, so it can be searched. As no analyzer is used the value will be stored as a single term. This is useful for unique Ids like product numbers.

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static readonly Field..::..Index NOT_ANALYZED
Visual Basic
Public Shared ReadOnly NOT_ANALYZED As Field..::..Index
Visual C++
public:
static initonly Field..::..Index^ NOT_ANALYZED

See Also