Use this operator for clauses that should appear in the
matching documents. For a BooleanQuery with no
clauses one or more clauses must match a document
for the BooleanQuery to match.
Namespace: Lucene.Net.SearchCopyC#
MUST
CopyC#
SHOULD
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]