disjunction

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 [ ].

Only terms that have at least one match in the given document will be included