Create a new BooleanFilterClause

Namespace: Lucene.Net.Search
Assembly: Lucene.Net.Contrib.Queries (in Lucene.Net.Contrib.Queries.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
public BooleanFilterClause(
	Filter filter,
	BooleanClause..::..Occur occur
)
Visual Basic
Public Sub New ( _
	filter As Filter, _
	occur As BooleanClause..::..Occur _
)
Visual C++
public:
BooleanFilterClause(
	Filter^ filter, 
	BooleanClause..::..Occur^ occur
)

Parameters

filter
Type: Lucene.Net.Search..::..Filter
A Filter object
occur
Type: Lucene.Net.Search..::..BooleanClause..::..Occur
A parameter implementation indicating SHOULD, MUST or MUST NOT

See Also