Uses of Class
org.apache.lucene.index.NumericDocValues
Packages that use NumericDocValues
Package
Description
Components from the Lucene 8.0 index format.
Lucene 9.0 file format.
Codecs API: API for customization of the encoding and structure of the index.
Lucene 10.1 file format.
Lucene 9.0 file format.
Postings format that can delegate to different formats per-field.
Simpletext Codec: writes human readable postings.
The logical representation of a
Document
for indexing and
searching.Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Misc search implementations.
A variety of functions to use with FunctionQuery.
The payloads package provides Query mechanisms for finding and using payloads.
The calculus of spans.
A primary-key postings format that associates a version (long) with each term and can provide
fail-fast lookups by ID and version.
This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial
queries.
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.Highlighting search terms.
Support for index-time and query-time joins.
Support for Autocomplete/Autosuggest
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term
vectors, or analysis.
-
Uses of NumericDocValues in org.apache.lucene.backward_codecs.lucene80
Subclasses of NumericDocValues in org.apache.lucene.backward_codecs.lucene80Modifier and TypeClassDescriptionprivate static class
private static class
(package private) static class
(package private) static class
Methods in org.apache.lucene.backward_codecs.lucene80 that return NumericDocValuesModifier and TypeMethodDescriptionprivate NumericDocValues
Lucene80DocValuesProducer.getNumeric
(Lucene80DocValuesProducer.NumericEntry entry) Lucene80DocValuesProducer.getNumeric
(FieldInfo field) -
Uses of NumericDocValues in org.apache.lucene.backward_codecs.lucene90
Fields in org.apache.lucene.backward_codecs.lucene90 declared as NumericDocValuesMethods in org.apache.lucene.backward_codecs.lucene90 with parameters of type NumericDocValues -
Uses of NumericDocValues in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as NumericDocValuesModifier and TypeFieldDescription(package private) final NumericDocValues
DocValuesConsumer.NumericDocValuesSub.values
private final NumericDocValues
NormsConsumer.NumericDocValuesSub.values
Methods in org.apache.lucene.codecs that return NumericDocValuesModifier and TypeMethodDescriptionabstract NumericDocValues
ReturnsNumericDocValues
for this field.abstract NumericDocValues
DocValuesProducer.getNumeric
(FieldInfo field) ReturnsNumericDocValues
for this field.private static NumericDocValues
DocValuesConsumer.mergeNumericValues
(List<DocValuesConsumer.NumericDocValuesSub> subs, boolean indexIsSorted) Methods in org.apache.lucene.codecs with parameters of type NumericDocValuesModifier and TypeMethodDescriptionabstract void
PushPostingsWriterBase.startTerm
(NumericDocValues norms) Start a new term.Constructors in org.apache.lucene.codecs with parameters of type NumericDocValuesModifierConstructorDescriptionNumericDocValuesSub
(MergeState.DocMap docMap, NumericDocValues values) NumericDocValuesSub
(MergeState.DocMap docMap, NumericDocValues values) -
Uses of NumericDocValues in org.apache.lucene.codecs.lucene101
Fields in org.apache.lucene.codecs.lucene101 declared as NumericDocValuesMethods in org.apache.lucene.codecs.lucene101 with parameters of type NumericDocValues -
Uses of NumericDocValues in org.apache.lucene.codecs.lucene90
Subclasses of NumericDocValues in org.apache.lucene.codecs.lucene90Modifier and TypeClassDescriptionprivate static class
private static class
(package private) static class
(package private) static class
Methods in org.apache.lucene.codecs.lucene90 that return NumericDocValuesModifier and TypeMethodDescriptionprivate NumericDocValues
Lucene90DocValuesProducer.getNumeric
(Lucene90DocValuesProducer.NumericEntry entry) Lucene90DocValuesProducer.getNumeric
(FieldInfo field) Methods in org.apache.lucene.codecs.lucene90 with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprivate void
Lucene90NormsConsumer.writeValues
(NumericDocValues values, int numBytesPerValue, IndexOutput out) -
Uses of NumericDocValues in org.apache.lucene.codecs.perfield
Methods in org.apache.lucene.codecs.perfield that return NumericDocValuesModifier and TypeMethodDescriptionPerFieldDocValuesFormat.FieldsReader.getNumeric
(FieldInfo field) -
Uses of NumericDocValues in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext that return NumericDocValuesMethods in org.apache.lucene.codecs.simpletext with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprivate long
SimpleTextFieldsWriter.getNorm
(int doc, NumericDocValues norms) -
Uses of NumericDocValues in org.apache.lucene.document
Fields in org.apache.lucene.document declared as NumericDocValuesModifier and TypeFieldDescriptionprivate final NumericDocValues
LatLonPointDistanceFeatureQuery.DistanceScorer.docValues
private final NumericDocValues
LongDistanceFeatureQuery.DistanceScorer.docValues
Methods in org.apache.lucene.document with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprivate DocIdSetIterator
SortedNumericDocValuesRangeQuery.getDocIdSetIteratorOrNullForPrimarySort
(LeafReader reader, NumericDocValues numericDocValues, DocValuesSkipper skipper) private static int
SortedNumericDocValuesRangeQuery.nextDoc
(int startDoc, NumericDocValues docValues, LongPredicate predicate) Constructors in org.apache.lucene.document with parameters of type NumericDocValuesModifierConstructorDescriptionprotected
DistanceScorer
(int maxDoc, long leadCost, float boost, PointValues pointValues, NumericDocValues docValues) protected
DistanceScorer
(int maxDoc, long leadCost, float boost, PointValues pointValues, NumericDocValues docValues) -
Uses of NumericDocValues in org.apache.lucene.index
Subclasses of NumericDocValues in org.apache.lucene.indexModifier and TypeClassDescriptionclass
Delegates all methods to a wrappedNumericDocValues
.private static class
(package private) static class
(package private) static class
Fields in org.apache.lucene.index declared as NumericDocValuesModifier and TypeFieldDescriptionprotected final NumericDocValues
FilterNumericDocValues.in
Wrapped valuesprivate final NumericDocValues
SingletonSortedNumericDocValues.in
Methods in org.apache.lucene.index that return NumericDocValuesModifier and TypeMethodDescription(package private) static NumericDocValues
DocValuesFieldUpdates.Iterator.asNumericDocValues
(DocValuesFieldUpdates.Iterator iterator) Wraps the given iterator as a NumericDocValues instance.static final NumericDocValues
DocValues.emptyNumeric()
An empty NumericDocValues which returns no documentsIndexSorter.NumericDocValuesProvider.get
(LeafReader reader) Returns the NumericDocValues instance for this LeafReader(package private) NumericDocValues
NumericDocValuesWriter.getDocValues()
final NumericDocValues
CodecReader.getNormValues
(String field) final NumericDocValues
DocValuesLeafReader.getNormValues
(String field) FilterLeafReader.getNormValues
(String field) abstract NumericDocValues
LeafReader.getNormValues
(String field) ReturnsNumericDocValues
representing norms for this field, or null if noNumericDocValues
were indexed.static NumericDocValues
MultiDocValues.getNormValues
(IndexReader r, String field) Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).ParallelLeafReader.getNormValues
(String field) static NumericDocValues
DocValues.getNumeric
(LeafReader reader, String field) Returns NumericDocValues for the field, orDocValues.emptyNumeric()
if it has none.EmptyDocValuesProducer.getNumeric
(FieldInfo field) SegmentDocValuesProducer.getNumeric
(FieldInfo field) SlowCompositeCodecReaderWrapper.SlowCompositeDocValuesProducerWrapper.getNumeric
(FieldInfo field) final NumericDocValues
CodecReader.getNumericDocValues
(String field) ExitableDirectoryReader.ExitableFilterAtomicReader.getNumericDocValues
(String field) FilterLeafReader.getNumericDocValues
(String field) abstract NumericDocValues
LeafReader.getNumericDocValues
(String field) ReturnsNumericDocValues
for this field, or null if no numeric doc values were indexed for this field.ParallelLeafReader.getNumericDocValues
(String field) SingletonSortedNumericDocValues.getNumericDocValues()
Return the wrappedNumericDocValues
static NumericDocValues
MultiDocValues.getNumericValues
(IndexReader r, String field) Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly)static NumericDocValues
DocValues.unwrapSingleton
(SortedNumericDocValues dv) Returns a single-valued view of the SortedNumericDocValues, if it was previously wrapped withDocValues.singleton(NumericDocValues)
, or null.Methods in org.apache.lucene.index with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprivate static void
CheckIndex.checkNumericDocValues
(String fieldName, NumericDocValues ndv, NumericDocValues ndv2) SortingCodecReader.getNumericDocValues
(NumericDocValues oldNumerics) static SortedNumericDocValues
DocValues.singleton
(NumericDocValues dv) Returns a multi-valued view over the provided NumericDocValues(package private) static NumericDocValuesWriter.NumericDVs
NumericDocValuesWriter.sortDocValues
(int maxDoc, Sorter.DocMap sortMap, NumericDocValues oldDocValues, boolean dense) Constructors in org.apache.lucene.index with parameters of type NumericDocValuesModifierConstructorDescriptionprotected
Sole constructor -
Uses of NumericDocValues in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return NumericDocValuesModifier and TypeMethodDescription(package private) NumericDocValues
MemoryIndex.Info.getNormDocValues()
MemoryIndex.MemoryIndexReader.getNormValues
(String field) MemoryIndex.MemoryIndexReader.getNumericDocValues
(String field) private static NumericDocValues
MemoryIndex.numericDocValues
(long value) -
Uses of NumericDocValues in org.apache.lucene.misc.search
Fields in org.apache.lucene.misc.search declared as NumericDocValuesModifier and TypeFieldDescriptionprotected NumericDocValues
DocValuesStats.NumericDocValuesStats.ndv
Methods in org.apache.lucene.misc.search that return NumericDocValuesModifier and TypeMethodDescriptionprotected abstract NumericDocValues
DiversifiedTopDocsCollector.getKeys
(LeafReaderContext context) Get a source of values used for grouping keysMethods in org.apache.lucene.misc.search with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprotected DiversifiedTopDocsCollector.ScoreDocKey
DiversifiedTopDocsCollector.insert
(DiversifiedTopDocsCollector.ScoreDocKey addition, int docBase, NumericDocValues keys) -
Uses of NumericDocValues in org.apache.lucene.queries.function.valuesource
Methods in org.apache.lucene.queries.function.valuesource that return NumericDocValuesModifier and TypeMethodDescriptionprotected NumericDocValues
DoubleFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
FloatFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
IntFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
LongFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
MultiValuedDoubleFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
MultiValuedFloatFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
MultiValuedIntFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) protected NumericDocValues
MultiValuedLongFieldSource.getNumericDocValues
(Map<Object, Object> context, LeafReaderContext readerContext) -
Uses of NumericDocValues in org.apache.lucene.queries.payloads
Constructors in org.apache.lucene.queries.payloads with parameters of type NumericDocValuesModifierConstructorDescriptionprivate
PayloadSpanScorer
(PayloadScoreQuery.PayloadSpans spans, Similarity.SimScorer scorer, NumericDocValues norms) -
Uses of NumericDocValues in org.apache.lucene.queries.spans
Fields in org.apache.lucene.queries.spans declared as NumericDocValuesConstructors in org.apache.lucene.queries.spans with parameters of type NumericDocValuesModifierConstructorDescriptionSpanScorer
(Spans spans, Similarity.SimScorer scorer, NumericDocValues norms) Sole constructor. -
Uses of NumericDocValues in org.apache.lucene.sandbox.codecs.idversion
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type NumericDocValues -
Uses of NumericDocValues in org.apache.lucene.sandbox.search
Subclasses of NumericDocValues in org.apache.lucene.sandbox.searchModifier and TypeClassDescriptionprivate static class
Fields in org.apache.lucene.sandbox.search declared as NumericDocValuesModifier and TypeFieldDescriptionprivate final NumericDocValues
MultiNormsLeafSimScorer.norms
private final NumericDocValues
TermAutomatonScorer.norms
private final NumericDocValues[]
MultiNormsLeafSimScorer.MultiFieldNormValues.normsArr
Constructors in org.apache.lucene.sandbox.search with parameters of type NumericDocValuesModifierConstructorDescription(package private)
MultiFieldNormValues
(NumericDocValues[] normsArr, float[] weightArr) TermAutomatonScorer
(TermAutomatonQuery.TermAutomatonWeight weight, TermAutomatonQuery.EnumAndScorer[] subs, int anyTermID, Similarity.SimScorer scorer, NumericDocValues norms) -
Uses of NumericDocValues in org.apache.lucene.search
Subclasses of NumericDocValues in org.apache.lucene.searchModifier and TypeClassDescription(package private) static class
Wraps a SortedNumericDocValues and returns the last value (max)(package private) static class
Wraps a SortedNumericDocValues and returns the first value (min)Fields in org.apache.lucene.search declared as NumericDocValuesModifier and TypeFieldDescriptionprivate final NumericDocValues
PhraseScorer.norms
(package private) final NumericDocValues
SynonymQuery.FreqBoostTermScorer.norms
private final NumericDocValues
SynonymQuery.SynonymScorer.norms
private final NumericDocValues
TermScorer.norms
Methods in org.apache.lucene.search that return NumericDocValuesModifier and TypeMethodDescriptionprivate static NumericDocValues
DoubleValuesSource.asNumericDocValues
(DoubleValuesSource.DoubleValuesHolder in, DoubleToLongFunction converter) private static NumericDocValues
LongValuesSource.asNumericDocValues
(LongValuesSource.LongValuesHolder in) private NumericDocValues
SortedNumericSortField.getValue
(LeafReader reader) static NumericDocValues
SortedNumericSelector.wrap
(SortedNumericDocValues sortedNumeric, SortedNumericSelector.Type selector, SortField.Type numericType) Wraps a multi-valued SortedNumericDocValues as a single-valued view, using the specified selector and numericType.Methods in org.apache.lucene.search with parameters of type NumericDocValuesModifier and TypeMethodDescriptionprivate static LongValues
LongValuesSource.toLongValues
(NumericDocValues in) Constructors in org.apache.lucene.search with parameters of type NumericDocValuesModifierConstructorDescriptionFreqBoostTermScorer
(float boost, TermScorer in, Similarity.SimScorer scorer, NumericDocValues norms) (package private)
PhraseScorer
(PhraseMatcher matcher, ScoreMode scoreMode, Similarity.SimScorer simScorer, NumericDocValues norms) (package private)
SynonymScorer
(DisiPriorityQueue queue, DocIdSetIterator iterator, ImpactsDISI impactsDisi, Similarity.SimScorer scorer, NumericDocValues norms) TermScorer
(ImpactsEnum impactsEnum, Similarity.SimScorer scorer, NumericDocValues norms, boolean topLevelScoringClause) Construct aTermScorer
that will use impacts to skip blocks of non-competitive documents.TermScorer
(PostingsEnum postingsEnum, Similarity.SimScorer scorer, NumericDocValues norms) Construct aTermScorer
that will iterate all documents. -
Uses of NumericDocValues in org.apache.lucene.search.comparators
Fields in org.apache.lucene.search.comparators declared as NumericDocValuesModifier and TypeFieldDescriptionprotected final NumericDocValues
NumericComparator.NumericLeafComparator.docValues
Methods in org.apache.lucene.search.comparators that return NumericDocValuesModifier and TypeMethodDescriptionprotected NumericDocValues
NumericComparator.NumericLeafComparator.getNumericDocValues
(LeafReaderContext context, String field) Retrieves the NumericDocValues for the field in this segment -
Uses of NumericDocValues in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return NumericDocValuesModifier and TypeMethodDescriptionTermVectorLeafReader.getNormValues
(String field) WeightedSpanTermExtractor.DelegatingLeafReader.getNormValues
(String field) TermVectorLeafReader.getNumericDocValues
(String field) WeightedSpanTermExtractor.DelegatingLeafReader.getNumericDocValues
(String field) -
Uses of NumericDocValues in org.apache.lucene.search.join
Subclasses of NumericDocValues in org.apache.lucene.search.joinFields in org.apache.lucene.search.join declared as NumericDocValuesMethods in org.apache.lucene.search.join that return NumericDocValuesModifier and TypeMethodDescriptionstatic NumericDocValues
BlockJoinSelector.wrap
(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedNumericDocValues
, iterating over only child documents, in order to only select one value per parent among itschildren
using the configuredselection
type.static NumericDocValues
BlockJoinSelector.wrap
(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedNumericDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.(package private) static NumericDocValues
ToParentDocValues.wrap
(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children) Methods in org.apache.lucene.search.join with parameters of type NumericDocValuesModifier and TypeMethodDescriptionstatic NumericDocValues
BlockJoinSelector.wrap
(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedNumericDocValues
, iterating over only child documents, in order to only select one value per parent among itschildren
using the configuredselection
type.(package private) static NumericDocValues
ToParentDocValues.wrap
(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents2, DocIdSetIterator children) Constructors in org.apache.lucene.search.join with parameters of type NumericDocValuesModifierConstructorDescriptionprivate
NumDV
(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) -
Uses of NumericDocValues in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest declared as NumericDocValuesModifier and TypeFieldDescriptionprivate final NumericDocValues
DocumentDictionary.DocumentInputIterator.weightValues
-
Uses of NumericDocValues in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight that return NumericDocValuesModifier and TypeMethodDescriptionPhraseHelper.SingleFieldWithOffsetsFilterLeafReader.getNormValues
(String field)