org.apache.lucene.facet.taxonomy
Class CachedOrdinalsReader.CachedOrds
java.lang.Object
org.apache.lucene.facet.taxonomy.CachedOrdinalsReader.CachedOrds
- Enclosing class:
- CachedOrdinalsReader
public static final class CachedOrdinalsReader.CachedOrds
- extends Object
Holds the cached ordinals in two paralel int[]
arrays.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offsets
public final int[] offsets
- Index into
ordinals
for each document.
ordinals
public final int[] ordinals
- Holds ords for all docs.
CachedOrdinalsReader.CachedOrds
public CachedOrdinalsReader.CachedOrds(OrdinalsReader.OrdinalsSegmentReader source,
int maxDoc)
throws IOException
- Creates a new
CachedOrdinalsReader.CachedOrds
from the BinaryDocValues
.
Assumes that the BinaryDocValues
is not null
.
- Throws:
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.