Constructs an empty boolean query. {@link Similarity#Coord(int,int)} may be disabled in scoring, as appropriate. For example, this score factor does not make sense for most automatically generated queries, like {@link WildcardQuery} and {@link FuzzyQuery}.

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

Syntax

C#
public BooleanQuery(
	bool disableCoord
)
Visual Basic
Public Sub New ( _
	disableCoord As Boolean _
)
Visual C++
public:
BooleanQuery(
	bool disableCoord
)

Parameters

disableCoord
Type: System..::..Boolean
disables {@link Similarity#Coord(int,int)} in scoring.

See Also