Package org.apache.lucene.facet.taxonomy
Class CachedOrdinalsReader.CachedOrds
java.lang.Object
org.apache.lucene.facet.taxonomy.CachedOrdinalsReader.CachedOrds
- Enclosing class:
CachedOrdinalsReader
Holds the cached ordinals in two paralel
int[] arrays.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCachedOrds(OrdinalsReader.OrdinalsSegmentReader source, int maxDoc) Creates a newCachedOrdinalsReader.CachedOrdsfrom theBinaryDocValues. -
Method Summary
-
Field Details
-
offsets
public final int[] offsetsIndex intoordinalsfor each document. -
ordinals
public final int[] ordinalsHolds ords for all docs.
-
-
Constructor Details
-
CachedOrds
Creates a newCachedOrdinalsReader.CachedOrdsfrom theBinaryDocValues. Assumes that theBinaryDocValuesis notnull.- Throws:
IOException
-