Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
abstract SortedSetDocValues |
DocValuesProducer.getSortedSet(FieldInfo field)
Returns
SortedSetDocValues for this field. |
Modifier and Type | Method and Description |
---|---|
void |
DocValuesConsumer.mergeSortedSetField(FieldInfo fieldInfo,
MergeState mergeState,
List<SortedSetDocValues> toMerge)
Merges the sortedset docvalues from
toMerge . |
Modifier and Type | Class and Description |
---|---|
static class |
MultiDocValues.MultiSortedSetDocValues
Implements MultiSortedSetDocValues over n subs, using an OrdinalMap
|
class |
RandomAccessOrds
Extension of
SortedSetDocValues that supports random access
to the ordinals of a document. |
Modifier and Type | Field and Description |
---|---|
SortedSetDocValues[] |
MultiDocValues.MultiSortedSetDocValues.values
leaf values
|
Modifier and Type | Method and Description |
---|---|
static SortedSetDocValues |
DocValues.getSortedSet(AtomicReader in,
String field)
Returns SortedSetDocValues for the reader, or
DocValues.emptySortedSet() if it has none. |
SortedSetDocValues |
ParallelAtomicReader.getSortedSetDocValues(String field) |
SortedSetDocValues |
SegmentReader.getSortedSetDocValues(String field) |
SortedSetDocValues |
FilterAtomicReader.getSortedSetDocValues(String field) |
abstract SortedSetDocValues |
AtomicReader.getSortedSetDocValues(String field)
Returns
SortedSetDocValues for this field, or
null if no SortedSetDocValues were indexed for
this field. |
SortedSetDocValues |
SlowCompositeReaderWrapper.getSortedSetDocValues(String field) |
static SortedSetDocValues |
MultiDocValues.getSortedSetValues(IndexReader r,
String field)
Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things).
|
SortedSetDocValues |
DocTermOrds.iterator(AtomicReader reader)
Returns a SortedSetDocValues view of this instance
|
Modifier and Type | Method and Description |
---|---|
static MultiDocValues.OrdinalMap |
MultiDocValues.OrdinalMap.build(Object owner,
SortedSetDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedSetDocValues instance as a weight. |
static Bits |
DocValues.docsWithValue(SortedSetDocValues dv,
int maxDoc)
Returns a Bits representing all documents from
dv that have a value. |
static SortedDocValues |
DocValues.unwrapSingleton(SortedSetDocValues dv)
Returns a single-valued view of the SortedSetDocValues, if it was previously
wrapped with
DocValues.singleton(SortedDocValues) , or null. |
Modifier and Type | Method and Description |
---|---|
SortedSetDocValues |
FieldCache.getDocTermOrds(AtomicReader reader,
String field)
Checks the internal cache for an appropriate entry, and if none is found, reads the term values
in
field and returns a DocTermOrds instance, providing a method to retrieve
the terms (as ords) per document. |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.