Builds a new BooleanClause instance

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

Syntax

C#
protected internal virtual BooleanClause NewBooleanClause(
	Query q,
	BooleanClause..::..Occur occur
)
Visual Basic
Protected Friend Overridable Function NewBooleanClause ( _
	q As Query, _
	occur As BooleanClause..::..Occur _
) As BooleanClause
Visual C++
protected public:
virtual BooleanClause^ NewBooleanClause(
	Query^ q, 
	BooleanClause..::..Occur^ occur
)

Parameters

q
Type: Lucene.Net.Search..::..Query
sub query
occur
Type: Lucene.Net.Search..::..BooleanClause..::..Occur
how this clause should occur when matching documents

Return Value

new BooleanClause instance

See Also