Uses of Class
org.apache.lucene.index.SortedDocValues
-
Packages that use SortedDocValues Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.codecs.lucene80 Components from the Lucene 8.0 index format Seeorg.apache.lucene.codecs.lucene84
for an overview of the index format.org.apache.lucene.codecs.memory Term dictionary, DocValues or Postings formats that are read entirely into memory.org.apache.lucene.codecs.perfield Postings format that can delegate to different formats per-field.org.apache.lucene.codecs.simpletext Simpletext Codec: writes human readable postings.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.monitor Monitoring frameworkorg.apache.lucene.queries.function.docvalues FunctionValues for different data types.org.apache.lucene.search Code to search indices.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins. -
-
Uses of SortedDocValues in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as SortedDocValues Modifier and Type Field Description (package private) SortedDocValues
DocValuesConsumer.SortedDocValuesSub. values
Methods in org.apache.lucene.codecs that return SortedDocValues Modifier and Type Method Description abstract SortedDocValues
DocValuesProducer. getSorted(FieldInfo field)
ReturnsSortedDocValues
for this field.Constructors in org.apache.lucene.codecs with parameters of type SortedDocValues Constructor Description SortedDocValuesSub(MergeState.DocMap docMap, SortedDocValues values, LongValues map)
-
Uses of SortedDocValues in org.apache.lucene.codecs.lucene70
Subclasses of SortedDocValues in org.apache.lucene.codecs.lucene70 Modifier and Type Class Description private static class
Lucene70DocValuesProducer.BaseSortedDocValues
Methods in org.apache.lucene.codecs.lucene70 that return SortedDocValues Modifier and Type Method Description private SortedDocValues
Lucene70DocValuesProducer. getSorted(Lucene70DocValuesProducer.SortedEntry entry)
SortedDocValues
Lucene70DocValuesProducer. getSorted(FieldInfo field)
-
Uses of SortedDocValues in org.apache.lucene.codecs.lucene80
Subclasses of SortedDocValues in org.apache.lucene.codecs.lucene80 Modifier and Type Class Description private static class
Lucene80DocValuesProducer.BaseSortedDocValues
Methods in org.apache.lucene.codecs.lucene80 that return SortedDocValues Modifier and Type Method Description private SortedDocValues
Lucene80DocValuesProducer. getSorted(Lucene80DocValuesProducer.SortedEntry entry)
SortedDocValues
Lucene80DocValuesProducer. getSorted(FieldInfo field)
-
Uses of SortedDocValues in org.apache.lucene.codecs.memory
Subclasses of SortedDocValues in org.apache.lucene.codecs.memory Modifier and Type Class Description (package private) class
LegacySortedDocValuesWrapper
Deprecated.ImplementSortedDocValues
directly.Methods in org.apache.lucene.codecs.memory that return SortedDocValues Modifier and Type Method Description SortedDocValues
DirectDocValuesProducer. getSorted(FieldInfo field)
Methods in org.apache.lucene.codecs.memory with parameters of type SortedDocValues Modifier and Type Method Description static java.lang.Iterable<BytesRef>
LegacyDocValuesIterables. valuesIterable(SortedDocValues values)
Deprecated.ConsumeSortedDocValues
instead. -
Uses of SortedDocValues in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield that return SortedDocValues Modifier and Type Method Description SortedDocValues
PerFieldDocValuesFormat.FieldsReader. getSorted(FieldInfo field)
-
Uses of SortedDocValues in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext that return SortedDocValues Modifier and Type Method Description SortedDocValues
SimpleTextDocValuesReader. getSorted(FieldInfo fieldInfo)
-
Uses of SortedDocValues in org.apache.lucene.index
Subclasses of SortedDocValues in org.apache.lucene.index Modifier and Type Class Description class
FilterSortedDocValues
Delegates all methods to a wrappedSortedDocValues
.static class
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMapprivate static class
SortedDocValuesWriter.BufferedSortedDocValues
(package private) static class
SortedDocValuesWriter.SortingSortedDocValues
Fields in org.apache.lucene.index declared as SortedDocValues Modifier and Type Field Description private SortedDocValues
MultiDocValues.MultiSortedDocValues. currentValues
protected SortedDocValues
FilterSortedDocValues. in
Wrapped valuesprivate SortedDocValues
SingletonSortedSetDocValues. in
private SortedDocValues
SortedDocValuesWriter.SortingSortedDocValues. in
SortedDocValues[]
MultiDocValues.MultiSortedDocValues. values
leaf valuesprivate SortedDocValues
SortedDocValuesTermsEnum. values
Methods in org.apache.lucene.index that return SortedDocValues Modifier and Type Method Description static SortedDocValues
DocValues. emptySorted()
An empty SortedDocValues which returnsBytesRef.EMPTY_BYTES
for every documentSortedDocValues
IndexSorter.SortedDocValuesProvider. get(LeafReader reader)
Returns the SortedDocValues instance for this LeafReader(package private) SortedDocValues
SortedDocValuesWriter. getDocValues()
static SortedDocValues
DocValues. getSorted(LeafReader reader, java.lang.String field)
Returns SortedDocValues for the field, orDocValues.emptySorted()
if it has none.SortedDocValues
EmptyDocValuesProducer. getSorted(FieldInfo field)
SortedDocValues
SegmentDocValuesProducer. getSorted(FieldInfo field)
SortedDocValues
CodecReader. getSortedDocValues(java.lang.String field)
SortedDocValues
ExitableDirectoryReader.ExitableFilterAtomicReader. getSortedDocValues(java.lang.String field)
SortedDocValues
FilterLeafReader. getSortedDocValues(java.lang.String field)
abstract SortedDocValues
LeafReader. getSortedDocValues(java.lang.String field)
ReturnsSortedDocValues
for this field, or null if noSortedDocValues
were indexed for this field.SortedDocValues
MergeReaderWrapper. getSortedDocValues(java.lang.String field)
SortedDocValues
ParallelLeafReader. getSortedDocValues(java.lang.String field)
SortedDocValues
SingletonSortedSetDocValues. getSortedDocValues()
Return the wrappedSortedDocValues
static SortedDocValues
MultiDocValues. getSortedValues(IndexReader r, java.lang.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 withDocValues.singleton(SortedDocValues)
, or null.Methods in org.apache.lucene.index with parameters of type SortedDocValues Modifier and Type Method Description static OrdinalMap
OrdinalMap. build(IndexReader.CacheKey owner, SortedDocValues[] values, float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of eachSortedDocValues
instance as a weight.private static void
CheckIndex. checkSortedDocValues(java.lang.String fieldName, int maxDoc, SortedDocValues dv, SortedDocValues dv2)
static SortedSetDocValues
DocValues. singleton(SortedDocValues dv)
Returns a multi-valued view over the provided SortedDocValuesprivate int[]
SortedDocValuesWriter. sortDocValues(int maxDoc, Sorter.DocMap sortMap, SortedDocValues oldValues)
Constructors in org.apache.lucene.index with parameters of type SortedDocValues Constructor Description FilterSortedDocValues(SortedDocValues in)
Sole constructorMultiSortedDocValues(SortedDocValues[] values, int[] docStarts, OrdinalMap mapping, long totalCost)
Creates a new MultiSortedDocValues overvalues
SingletonSortedSetDocValues(SortedDocValues in)
Creates a multi-valued view over the provided SortedDocValuesSortedDocValuesTermsEnum(SortedDocValues values)
Creates a new TermsEnum over the provided valuesSortingSortedDocValues(SortedDocValues in, int[] ords)
-
Uses of SortedDocValues in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return SortedDocValues Modifier and Type Method Description SortedDocValues
MemoryIndex.MemoryIndexReader. getSortedDocValues(java.lang.String field)
private SortedDocValues
MemoryIndex.MemoryIndexReader. getSortedDocValues(java.lang.String field, DocValuesType docValuesType)
private static SortedDocValues
MemoryIndex. sortedDocValues(BytesRef value)
-
Uses of SortedDocValues in org.apache.lucene.monitor
Fields in org.apache.lucene.monitor declared as SortedDocValues Modifier and Type Field Description (package private) SortedDocValues
QueryIndex.DataValues. cacheId
(package private) SortedDocValues
QueryIndex.DataValues. queryId
-
Uses of SortedDocValues in org.apache.lucene.queries.function.docvalues
Fields in org.apache.lucene.queries.function.docvalues declared as SortedDocValues Modifier and Type Field Description protected SortedDocValues
DocTermsIndexDocValues. termsIndex
Methods in org.apache.lucene.queries.function.docvalues that return SortedDocValues Modifier and Type Method Description (package private) static SortedDocValues
DocTermsIndexDocValues. open(LeafReaderContext context, java.lang.String field)
Constructors in org.apache.lucene.queries.function.docvalues with parameters of type SortedDocValues Constructor Description DocTermsIndexDocValues(ValueSource vs, SortedDocValues termsIndex)
-
Uses of SortedDocValues in org.apache.lucene.search
Subclasses of SortedDocValues in org.apache.lucene.search Modifier and Type Class Description (package private) static class
SortedSetSelector.MaxValue
Wraps a SortedSetDocValues and returns the last ordinal (max)(package private) static class
SortedSetSelector.MiddleMaxValue
Wraps a SortedSetDocValues and returns the middle ordinal (or max of the two)(package private) static class
SortedSetSelector.MiddleMinValue
Wraps a SortedSetDocValues and returns the middle ordinal (or min of the two)(package private) static class
SortedSetSelector.MinValue
Wraps a SortedSetDocValues and returns the first ordinal (min)Fields in org.apache.lucene.search declared as SortedDocValues Modifier and Type Field Description protected SortedDocValues
DocValuesStats.SortedDocValuesStats. sdv
(package private) SortedDocValues
FieldComparator.TermOrdValComparator. termsIndex
Methods in org.apache.lucene.search that return SortedDocValues Modifier and Type Method Description protected SortedDocValues
FieldComparator.TermOrdValComparator. getSortedDocValues(LeafReaderContext context, java.lang.String field)
Retrieves the SortedDocValues for the field in this segmentprivate SortedDocValues
SortedSetSortField. getValues(LeafReader reader)
static SortedDocValues
SortedSetSelector. wrap(SortedSetDocValues sortedSet, SortedSetSelector.Type selector)
Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector -
Uses of SortedDocValues in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as SortedDocValues Modifier and Type Field Description private SortedDocValues
TermGroupSelector. docValues
private SortedDocValues
TermGroupFacetCollector.SV. facetFieldTermsIndex
(package private) SortedDocValues
TermGroupFacetCollector. groupFieldTermsIndex
-
Uses of SortedDocValues in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return SortedDocValues Modifier and Type Method Description SortedDocValues
TermVectorLeafReader. getSortedDocValues(java.lang.String field)
SortedDocValues
WeightedSpanTermExtractor.DelegatingLeafReader. getSortedDocValues(java.lang.String field)
-
Uses of SortedDocValues in org.apache.lucene.search.join
Subclasses of SortedDocValues in org.apache.lucene.search.join Modifier and Type Class Description private static class
ToParentDocValues.SortedDVs
Fields in org.apache.lucene.search.join declared as SortedDocValues Modifier and Type Field Description private SortedDocValues
GlobalOrdinalsCollector.OrdinalMapCollector. docTermOrds
private SortedDocValues
GlobalOrdinalsCollector.SegmentOrdinalCollector. docTermOrds
private SortedDocValues
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector. docTermOrds
private SortedDocValues
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector. docTermOrds
(package private) SortedDocValues
BaseGlobalOrdinalScorer. values
private SortedDocValues
ToParentDocValues.SortedDVs. values
Methods in org.apache.lucene.search.join that return SortedDocValues Modifier and Type Method Description static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.static SortedDocValues
BlockJoinSelector. wrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedSetDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static SortedDocValues
BlockJoinSelector. wrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.(package private) static SortedDocValues
ToParentDocValues. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children)
Methods in org.apache.lucene.search.join with parameters of type SortedDocValues Modifier and Type Method Description static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static SortedDocValues
BlockJoinSelector. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.(package private) static SortedDocValues
ToParentDocValues. wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children)
-