Creates a new empty DisjunctionMaxQuery. Use add() to add the subqueries.

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

Syntax

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

Parameters

tieBreakerMultiplier
Type: System..::..Single
the score of each non-maximum disjunct for a document is multiplied by this weight and added into the final score. If non-zero, the value should be small, on the order of 0.1, which says that 10 occurrences of word in a lower-scored field that is also in a higher scored field is just as good as a unique word in the lower scored field (i.e., one that is not in any higher scored field.

See Also