Use this operator for clauses that must not appear in the matching documents. Note that it is not possible to search for queries that only consist of a
CopyC#
MUST_NOT
clause.

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

Syntax

C#
public static readonly BooleanClause..::..Occur MUST_NOT
Visual Basic
Public Shared ReadOnly MUST_NOT As BooleanClause..::..Occur
Visual C++
public:
static initonly BooleanClause..::..Occur^ MUST_NOT

See Also