|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.index.MultiDocValues
public class MultiDocValues
A wrapper for CompositeIndexReader providing access to DocValues.
NOTE: for multi readers, you'll get better
performance by gathering the sub readers using
IndexReader.getContext()
to get the
atomic leaves and then operate per-AtomicReader,
instead of using this class.
NOTE: This is very costly.
Nested Class Summary | |
---|---|
static class |
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap |
static class |
MultiDocValues.MultiSortedSetDocValues
Implements MultiSortedSetDocValues over n subs, using an OrdinalMap |
static class |
MultiDocValues.OrdinalMap
maps per-segment ordinals to/from global ordinal space |
Method Summary | |
---|---|
static BinaryDocValues |
getBinaryValues(IndexReader r,
String field)
Returns a BinaryDocValues for a reader's docvalues (potentially merging on-the-fly) |
static Bits |
getDocsWithField(IndexReader r,
String field)
Returns a Bits for a reader's docsWithField (potentially merging on-the-fly) |
static NumericDocValues |
getNormValues(IndexReader r,
String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly). |
static NumericDocValues |
getNumericValues(IndexReader r,
String field)
Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly) |
static SortedSetDocValues |
getSortedSetValues(IndexReader r,
String field)
Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things). |
static SortedDocValues |
getSortedValues(IndexReader r,
String field)
Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NumericDocValues getNormValues(IndexReader r, String field) throws IOException
This is a slow way to access normalization values. Instead, access them per-segment
with AtomicReader.getNormValues(String)
IOException
public static NumericDocValues getNumericValues(IndexReader r, String field) throws IOException
This is a slow way to access numeric values. Instead, access them per-segment
with AtomicReader.getNumericDocValues(String)
IOException
public static Bits getDocsWithField(IndexReader r, String field) throws IOException
This is a slow way to access this bitset. Instead, access them per-segment
with AtomicReader.getDocsWithField(String)
IOException
public static BinaryDocValues getBinaryValues(IndexReader r, String field) throws IOException
This is a slow way to access binary values. Instead, access them per-segment
with AtomicReader.getBinaryDocValues(String)
IOException
public static SortedDocValues getSortedValues(IndexReader r, String field) throws IOException
This is an extremely slow way to access sorted values. Instead, access them per-segment
with AtomicReader.getSortedDocValues(String)
IOException
public static SortedSetDocValues getSortedSetValues(IndexReader r, String field) throws IOException
This is an extremely slow way to access sorted values. Instead, access them per-segment
with AtomicReader.getSortedSetDocValues(String)
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |