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 | Class and Description |
---|---|
class |
FilterSortedDocValues
Delegates all methods to a wrapped
SortedDocValues . |
static class |
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap
|
Modifier and Type | Field and Description |
---|---|
protected SortedDocValues |
FilterSortedDocValues.in
Wrapped values
|
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 |
SortedDocValues |
IndexSorter.SortedDocValuesProvider.get(LeafReader reader)
Returns the SortedDocValues instance for this LeafReader
|
SortedDocValues |
EmptyDocValuesProducer.getSorted(FieldInfo field) |
static SortedDocValues |
DocValues.getSorted(LeafReader reader,
String field)
Returns SortedDocValues for the field, or
DocValues.emptySorted() if it has none. |
SortedDocValues |
ParallelLeafReader.getSortedDocValues(String field) |
SortedDocValues |
CodecReader.getSortedDocValues(String field) |
SortedDocValues |
ExitableDirectoryReader.ExitableFilterAtomicReader.getSortedDocValues(String field) |
abstract SortedDocValues |
LeafReader.getSortedDocValues(String field)
Returns
SortedDocValues for this field, or
null if no SortedDocValues were indexed for
this field. |
SortedDocValues |
FilterLeafReader.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 OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
SortedDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedDocValues instance as a weight. |
static SortedSetDocValues |
DocValues.singleton(SortedDocValues dv)
Returns a multi-valued view over the provided SortedDocValues
|
Constructor and Description |
---|
FilterSortedDocValues(SortedDocValues in)
Sole constructor
|
MultiSortedDocValues(SortedDocValues[] values,
int[] docStarts,
OrdinalMap mapping,
long totalCost)
Creates a new MultiSortedDocValues over
values |
Modifier and Type | Method and Description |
---|---|
protected SortedDocValues |
FieldComparator.TermOrdValComparator.getSortedDocValues(LeafReaderContext context,
String field)
Retrieves the SortedDocValues for the field in this segment
|
static SortedDocValues |
SortedSetSelector.wrap(SortedSetDocValues sortedSet,
SortedSetSelector.Type selector)
Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
|
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.