public interface CategoryListIterator
getOrdinals(int, IntsRef)calls are done with document IDs that are local to the reader given to
NOTE: this class operates as a key to a map, and therefore you should
hashCode() for proper behavior.
boolean setNextReader(AtomicReaderContext context) throws IOException
getOrdinals(int, IntsRef)calls will be made. Returns true iff any of the documents in this reader have category ordinals. This method must be called before any calls to
void getOrdinals(int docID, IntsRef ints) throws IOException
IntsRef, starting at position 0 upto
IntsRef.length. Grows the
IntsRefif it is not large enough.
NOTE: if the requested document does not have category ordinals
associated with it,
IntsRef.length is set to zero.
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.