Class FrozenBufferedUpdates.TermDocsIterator

java.lang.Object
org.apache.lucene.index.FrozenBufferedUpdates.TermDocsIterator
Enclosing class:
FrozenBufferedUpdates

static final class FrozenBufferedUpdates.TermDocsIterator extends Object
This class helps iterating a term dictionary and consuming all the docs for each terms. It accepts a field, value tuple and returns a DocIdSetIterator if the field has an entry for the given value. It has an optimized way of iterating the term dictionary if the terms are passed in sorted order and makes sure terms and postings are reused as much as possible.