MatchesUtils

Contains static functions that aid the implementation of Matches and [ ] interfaces.

Properties

Link copied to clipboard

Indicates a match with no term positions, for example on a Point or DocValues field, or a field indexed as docs and freqs only

Functions

Link copied to clipboard

Create a MatchesIterator that iterates in order over all matches in a set of subiterators

fun disjunction(context: LeafReaderContext, doc: Int, query: Query, field: String, terms: BytesRefIterator): MatchesIterator?

Create a MatchesIterator that is a disjunction over a list of terms extracted from a [ ].

Link copied to clipboard

Create a Matches for a single field

Link copied to clipboard

Amalgamate a collection of Matches into a single object