Creates a new DisjunctionMaxQuery

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

Syntax

C#
public DisjunctionMaxQuery(
	ICollection disjuncts,
	float tieBreakerMultiplier
)
Visual Basic
Public Sub New ( _
	disjuncts As ICollection, _
	tieBreakerMultiplier As Single _
)
Visual C++
public:
DisjunctionMaxQuery(
	ICollection^ disjuncts, 
	float tieBreakerMultiplier
)

Parameters

disjuncts
Type: System.Collections..::..ICollection
a Collection<Query> of all the disjuncts to add
tieBreakerMultiplier
Type: System..::..Single
the weight to give to each matching non-maximum disjunct

See Also