Constructor DisjunctionMaxQuery
DisjunctionMaxQuery(Single)
Creates a new empty DisjunctionMaxQuery. Use Add(Query) to add the subqueries.
Declaration
public DisjunctionMaxQuery(float tieBreakerMultiplier)
Parameters
Type | Name | Description |
---|---|---|
System.Single | tieBreakerMultiplier | 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). |
DisjunctionMaxQuery(ICollection<Query>, Single)
Creates a new DisjunctionMaxQuery
Declaration
public DisjunctionMaxQuery(ICollection<Query> disjuncts, float tieBreakerMultiplier)
Parameters
Type | Name | Description |
---|---|---|
ICollection<Query> | disjuncts | A ICollection{Query} of all the disjuncts to add |
System.Single | tieBreakerMultiplier | The weight to give to each matching non-maximum disjunct |