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