Builder
class Builder
A builder for multi-phrase queries
Constructors
Functions
Link copied to clipboard
Add multiple terms at the next position in the phrase. Any of the terms may match (a disjunction). The array is not copied or mutated, the caller should consider it immutable subsequent to calling this method.
Add a single term at the next position in the phrase.
Allows to specify the relative position of terms within the phrase. The array is not copied or mutated, the caller should consider it immutable subsequent to calling this method.
Link copied to clipboard
Builds a MultiPhraseQuery.
Link copied to clipboard
Sets the phrase slop for this query.