Use this operator for clauses that should appear in the matching documents. For a BooleanQuery with no
CopyC#
MUST
clauses one or more
CopyC#
SHOULD
clauses must match a document for the BooleanQuery to match.

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

Syntax

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

See Also

[!:BooleanQuery.setMinimumNumberShouldMatch]