UnionPostingsEnum
Takes the logical union of multiple PostingsEnum iterators.
Note: positions are merged during freq()
Inheritors
Types
disjunction of postings ordered by docid.
queue of terms for a single document. its a sorted array of all the positions from all the postings
Properties
Functions
Returns the estimated cost of this DocIdSetIterator.
Returns term frequency in the current document, or 1 if the field was indexed with . Do not call this before .nextDoc is first called, nor after .nextDoc returns DocIdSetIterator.NO_MORE_DOCS.
Load doc IDs into a FixedBitSet. This should behave exactly as if implemented as below, which is the default implementation:
Returns the next position, or -1 if positions were not indexed. Calling this more than .freq times is undefined.
Returns start offset for the current position, or -1 if offsets were not indexed.