DisjunctionMaxRewrite

A RewriteMethod that creates a DisjunctionMaxQuery out of the sub queries. This RewriteMethod is useful when having a good match on a single field is considered better than having average matches on several fields.

Constructors

Link copied to clipboard
constructor(tieBreakerMultiplier: Float)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun rewrite(subQueries: Array<Query>): Query

Merge the provided sub queries into a single Query object.