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 SortedDocValues |
DocValuesProducer.getSorted(FieldInfo field)
Returns
SortedDocValues for this field. |
Modifier and Type | Method and Description |
---|---|
void |
DocValuesConsumer.mergeSortedField(FieldInfo fieldInfo,
MergeState mergeState,
List<SortedDocValues> toMerge)
Merges the sorted docvalues from
toMerge . |
Modifier and Type | Class and Description |
---|---|
static class |
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap
|
Modifier and Type | Field and Description |
---|---|
SortedDocValues[] |
MultiDocValues.MultiSortedDocValues.values
leaf values
|
Modifier and Type | Method and Description |
---|---|
static SortedDocValues |
DocValues.emptySorted()
An empty SortedDocValues which returns
BytesRef.EMPTY_BYTES for every document |
static SortedDocValues |
DocValues.getSorted(AtomicReader in,
String field)
Returns SortedDocValues for the reader, or
DocValues.emptySorted() if it has none. |
SortedDocValues |
ParallelAtomicReader.getSortedDocValues(String field) |
SortedDocValues |
SlowCompositeReaderWrapper.getSortedDocValues(String field) |
SortedDocValues |
SegmentReader.getSortedDocValues(String field) |
abstract SortedDocValues |
AtomicReader.getSortedDocValues(String field)
Returns
SortedDocValues for this field, or
null if no SortedDocValues were indexed for
this field. |
SortedDocValues |
FilterAtomicReader.getSortedDocValues(String field) |
static SortedDocValues |
MultiDocValues.getSortedValues(IndexReader r,
String field)
Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).
|
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 |
---|---|
static Bits |
DocValues.docsWithValue(SortedDocValues dv,
int maxDoc)
Returns a Bits representing all documents from
dv that have a value. |
static SortedSetDocValues |
DocValues.singleton(SortedDocValues dv)
Returns a multi-valued view over the provided SortedDocValues
|
Modifier and Type | Method and Description |
---|---|
protected SortedDocValues |
FieldComparator.TermOrdValComparator.getSortedDocValues(AtomicReaderContext context,
String field)
Retrieves the SortedDocValues for the field in this segment
|
SortedDocValues |
FieldCache.getTermsIndex(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 SortedDocValues instance,
providing methods to retrieve sort ordinals and terms
(as a ByteRef) per document. |
SortedDocValues |
FieldCache.getTermsIndex(AtomicReader reader,
String field,
float acceptableOverheadRatio)
Expert: just like
FieldCache.getTermsIndex(AtomicReader,String) , but you can specify
whether more RAM should be consumed in exchange for
faster lookups (default is "true"). |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.