Uses of Class
org.apache.lucene.index.NumericDocValues
-
Packages that use NumericDocValues Package Description org.apache.lucene.backward_codecs.lucene70 Components from the Lucene 7.0 index format.org.apache.lucene.backward_codecs.lucene80 Components from the Lucene 8.0 index format.org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.codecs.lucene90 Lucene 9.0 file format.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.document The logical representation of aDocument
for indexing and searching.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.misc.search Misc search implementations.org.apache.lucene.queries.function.valuesource A variety of functions to use with FunctionQuery.org.apache.lucene.sandbox.codecs.idversion A primary-key postings format that associates a version (long) with each term and can provide fail-fast lookups by ID and version.org.apache.lucene.sandbox.search This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.org.apache.lucene.search Code to search indices.org.apache.lucene.search.comparators Comparators, used to compare hits so as to determine their sort order when collecting the top results withTopFieldCollector
.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.uhighlight The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis. -
-
Uses of NumericDocValues in org.apache.lucene.backward_codecs.lucene70
Subclasses of NumericDocValues in org.apache.lucene.backward_codecs.lucene70 Modifier and Type Class Description private static class
Lucene70DocValuesProducer.DenseNumericDocValues
private static class
Lucene70DocValuesProducer.SparseNumericDocValues
(package private) static class
Lucene70NormsProducer.DenseNormsIterator
(package private) static class
Lucene70NormsProducer.SparseNormsIterator
Methods in org.apache.lucene.backward_codecs.lucene70 that return NumericDocValues Modifier and Type Method Description NumericDocValues
Lucene70NormsProducer. getNorms(FieldInfo field)
private NumericDocValues
Lucene70DocValuesProducer. getNumeric(Lucene70DocValuesProducer.NumericEntry entry)
NumericDocValues
Lucene70DocValuesProducer. getNumeric(FieldInfo field)
-
Uses of NumericDocValues in org.apache.lucene.backward_codecs.lucene80
Subclasses of NumericDocValues in org.apache.lucene.backward_codecs.lucene80 Modifier and Type Class Description private static class
Lucene80DocValuesProducer.DenseNumericDocValues
private static class
Lucene80DocValuesProducer.SparseNumericDocValues
(package private) static class
Lucene80NormsProducer.DenseNormsIterator
(package private) static class
Lucene80NormsProducer.SparseNormsIterator
Methods in org.apache.lucene.backward_codecs.lucene80 that return NumericDocValues Modifier and Type Method Description NumericDocValues
Lucene80NormsProducer. getNorms(FieldInfo field)
private NumericDocValues
Lucene80DocValuesProducer. getNumeric(Lucene80DocValuesProducer.NumericEntry entry)
NumericDocValues
Lucene80DocValuesProducer. getNumeric(FieldInfo field)
-
Uses of NumericDocValues in org.apache.lucene.codecs
Fields in org.apache.lucene.codecs declared as NumericDocValues Modifier and Type Field Description (package private) NumericDocValues
DocValuesConsumer.NumericDocValuesSub. values
private NumericDocValues
NormsConsumer.NumericDocValuesSub. values
Methods in org.apache.lucene.codecs that return NumericDocValues Modifier and Type Method Description abstract NumericDocValues
NormsProducer. getNorms(FieldInfo field)
ReturnsNumericDocValues
for this field.abstract NumericDocValues
DocValuesProducer. getNumeric(FieldInfo field)
ReturnsNumericDocValues
for this field.private static NumericDocValues
DocValuesConsumer. mergeNumericValues(java.util.List<DocValuesConsumer.NumericDocValuesSub> subs, boolean indexIsSorted)
Methods in org.apache.lucene.codecs with parameters of type NumericDocValues Modifier and Type Method Description abstract void
PushPostingsWriterBase. startTerm(NumericDocValues norms)
Start a new term.Constructors in org.apache.lucene.codecs with parameters of type NumericDocValues Constructor Description NumericDocValuesSub(MergeState.DocMap docMap, NumericDocValues values)
NumericDocValuesSub(MergeState.DocMap docMap, NumericDocValues values)
-
Uses of NumericDocValues in org.apache.lucene.codecs.lucene90
Subclasses of NumericDocValues in org.apache.lucene.codecs.lucene90 Modifier and Type Class Description private static class
Lucene90DocValuesProducer.DenseNumericDocValues
private static class
Lucene90DocValuesProducer.SparseNumericDocValues
(package private) static class
Lucene90NormsProducer.DenseNormsIterator
(package private) static class
Lucene90NormsProducer.SparseNormsIterator
Fields in org.apache.lucene.codecs.lucene90 declared as NumericDocValues Modifier and Type Field Description private NumericDocValues
Lucene90PostingsWriter. norms
Methods in org.apache.lucene.codecs.lucene90 that return NumericDocValues Modifier and Type Method Description NumericDocValues
Lucene90NormsProducer. getNorms(FieldInfo field)
private NumericDocValues
Lucene90DocValuesProducer. getNumeric(Lucene90DocValuesProducer.NumericEntry entry)
NumericDocValues
Lucene90DocValuesProducer. getNumeric(FieldInfo field)
Methods in org.apache.lucene.codecs.lucene90 with parameters of type NumericDocValues Modifier and Type Method Description void
Lucene90PostingsWriter. startTerm(NumericDocValues norms)
private 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 NumericDocValues Modifier and Type Method Description NumericDocValues
PerFieldDocValuesFormat.FieldsReader. getNumeric(FieldInfo field)
-
Uses of NumericDocValues in org.apache.lucene.codecs.simpletext
Methods in org.apache.lucene.codecs.simpletext that return NumericDocValues Modifier and Type Method Description NumericDocValues
SimpleTextNormsFormat.SimpleTextNormsProducer. getNorms(FieldInfo field)
NumericDocValues
SimpleTextDocValuesReader. getNumeric(FieldInfo fieldInfo)
Methods in org.apache.lucene.codecs.simpletext with parameters of type NumericDocValues Modifier and Type Method Description private long
SimpleTextFieldsWriter. getNorm(int doc, NumericDocValues norms)
-
Uses of NumericDocValues in org.apache.lucene.document
Fields in org.apache.lucene.document declared as NumericDocValues Modifier and Type Field Description private NumericDocValues
LatLonPointDistanceFeatureQuery.DistanceScorer. docValues
private NumericDocValues
LongDistanceFeatureQuery.DistanceScorer. docValues
Constructors in org.apache.lucene.document with parameters of type NumericDocValues Constructor Description DistanceScorer(Weight weight, int maxDoc, long leadCost, float boost, PointValues pointValues, NumericDocValues docValues)
DistanceScorer(Weight weight, 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.index Modifier and Type Class Description class
FilterNumericDocValues
Delegates all methods to a wrappedNumericDocValues
.private static class
NormValuesWriter.BufferedNorms
(package private) static class
NumericDocValuesWriter.BufferedNumericDocValues
(package private) static class
NumericDocValuesWriter.SortingNumericDocValues
Fields in org.apache.lucene.index declared as NumericDocValues Modifier and Type Field Description protected NumericDocValues
FilterNumericDocValues. in
Wrapped valuesprivate NumericDocValues
SingletonSortedNumericDocValues. in
Methods in org.apache.lucene.index that return NumericDocValues Modifier and Type Method Description (package private) static NumericDocValues
DocValuesFieldUpdates.Iterator. asNumericDocValues(DocValuesFieldUpdates.Iterator iterator)
Wraps the given iterator as a NumericDocValues instance.static NumericDocValues
DocValues. emptyNumeric()
An empty NumericDocValues which returns no documentsNumericDocValues
IndexSorter.NumericDocValuesProvider. get(LeafReader reader)
Returns the NumericDocValues instance for this LeafReader(package private) NumericDocValues
NumericDocValuesWriter. getDocValues()
NumericDocValues
CodecReader. getNormValues(java.lang.String field)
NumericDocValues
DocValuesLeafReader. getNormValues(java.lang.String field)
NumericDocValues
FilterLeafReader. getNormValues(java.lang.String field)
abstract NumericDocValues
LeafReader. getNormValues(java.lang.String field)
ReturnsNumericDocValues
representing norms for this field, or null if noNumericDocValues
were indexed.static NumericDocValues
MultiDocValues. getNormValues(IndexReader r, java.lang.String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).NumericDocValues
ParallelLeafReader. getNormValues(java.lang.String field)
static NumericDocValues
DocValues. getNumeric(LeafReader reader, java.lang.String field)
Returns NumericDocValues for the field, orDocValues.emptyNumeric()
if it has none.NumericDocValues
EmptyDocValuesProducer. getNumeric(FieldInfo field)
NumericDocValues
SegmentDocValuesProducer. getNumeric(FieldInfo field)
NumericDocValues
CodecReader. getNumericDocValues(java.lang.String field)
NumericDocValues
ExitableDirectoryReader.ExitableFilterAtomicReader. getNumericDocValues(java.lang.String field)
NumericDocValues
FilterLeafReader. getNumericDocValues(java.lang.String field)
abstract NumericDocValues
LeafReader. getNumericDocValues(java.lang.String field)
ReturnsNumericDocValues
for this field, or null if no numeric doc values were indexed for this field.NumericDocValues
ParallelLeafReader. getNumericDocValues(java.lang.String field)
NumericDocValues
SingletonSortedNumericDocValues. getNumericDocValues()
Return the wrappedNumericDocValues
static NumericDocValues
MultiDocValues. getNumericValues(IndexReader r, java.lang.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 NumericDocValues Modifier and Type Method Description private static void
CheckIndex. checkNumericDocValues(java.lang.String fieldName, NumericDocValues ndv, NumericDocValues ndv2)
private NumericDocValuesWriter.NumericDVs
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)
Constructors in org.apache.lucene.index with parameters of type NumericDocValues Constructor Description FilterNumericDocValues(NumericDocValues in)
Sole constructorSingletonSortedNumericDocValues(NumericDocValues in)
-
Uses of NumericDocValues in org.apache.lucene.index.memory
Methods in org.apache.lucene.index.memory that return NumericDocValues Modifier and Type Method Description (package private) NumericDocValues
MemoryIndex.Info. getNormDocValues()
NumericDocValues
MemoryIndex.MemoryIndexReader. getNormValues(java.lang.String field)
NumericDocValues
MemoryIndex.MemoryIndexReader. getNumericDocValues(java.lang.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 NumericDocValues Modifier and Type Field Description protected NumericDocValues
DocValuesStats.NumericDocValuesStats. ndv
Methods in org.apache.lucene.misc.search that return NumericDocValues Modifier and Type Method Description protected 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 NumericDocValues Modifier and Type Method Description protected 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 NumericDocValues Modifier and Type Method Description protected NumericDocValues
DoubleFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
FloatFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
IntFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
LongFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
MultiValuedDoubleFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
MultiValuedFloatFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
MultiValuedIntFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
protected NumericDocValues
MultiValuedLongFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)
-
Uses of NumericDocValues in org.apache.lucene.sandbox.codecs.idversion
Methods in org.apache.lucene.sandbox.codecs.idversion with parameters of type NumericDocValues Modifier and Type Method Description void
IDVersionPostingsWriter. startTerm(NumericDocValues norms)
-
Uses of NumericDocValues in org.apache.lucene.sandbox.search
Subclasses of NumericDocValues in org.apache.lucene.sandbox.search Modifier and Type Class Description private static class
MultiNormsLeafSimScorer.MultiFieldNormValues
Fields in org.apache.lucene.sandbox.search declared as NumericDocValues Modifier and Type Field Description private NumericDocValues
MultiNormsLeafSimScorer. norms
private NumericDocValues[]
MultiNormsLeafSimScorer.MultiFieldNormValues. normsArr
Constructors in org.apache.lucene.sandbox.search with parameters of type NumericDocValues Constructor Description MultiFieldNormValues(NumericDocValues[] normsArr, float[] weightArr)
-
Uses of NumericDocValues in org.apache.lucene.search
Subclasses of NumericDocValues in org.apache.lucene.search Modifier and Type Class Description (package private) static class
SortedNumericSelector.MaxValue
Wraps a SortedNumericDocValues and returns the last value (max)(package private) static class
SortedNumericSelector.MinValue
Wraps a SortedNumericDocValues and returns the first value (min)Fields in org.apache.lucene.search declared as NumericDocValues Modifier and Type Field Description private NumericDocValues
LeafSimScorer. norms
Methods in org.apache.lucene.search that return NumericDocValues Modifier and Type Method Description private static NumericDocValues
DoubleValuesSource. asNumericDocValues(DoubleValuesSource.DoubleValuesHolder in, java.util.function.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 NumericDocValues Modifier and Type Method Description private static LongValues
LongValuesSource. toLongValues(NumericDocValues in)
-
Uses of NumericDocValues in org.apache.lucene.search.comparators
Fields in org.apache.lucene.search.comparators declared as NumericDocValues Modifier and Type Field Description protected NumericDocValues
NumericComparator.NumericLeafComparator. docValues
Methods in org.apache.lucene.search.comparators that return NumericDocValues Modifier and Type Method Description protected NumericDocValues
NumericComparator.NumericLeafComparator. getNumericDocValues(LeafReaderContext context, java.lang.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 NumericDocValues Modifier and Type Method Description NumericDocValues
TermVectorLeafReader. getNormValues(java.lang.String field)
NumericDocValues
WeightedSpanTermExtractor.DelegatingLeafReader. getNormValues(java.lang.String field)
NumericDocValues
TermVectorLeafReader. getNumericDocValues(java.lang.String field)
NumericDocValues
WeightedSpanTermExtractor.DelegatingLeafReader. getNumericDocValues(java.lang.String field)
-
Uses of NumericDocValues in org.apache.lucene.search.join
Subclasses of NumericDocValues in org.apache.lucene.search.join Modifier and Type Class Description private static class
ToParentDocValues.NumDV
Fields in org.apache.lucene.search.join declared as NumericDocValues Modifier and Type Field Description private NumericDocValues
ToParentDocValues.NumDV. values
Methods in org.apache.lucene.search.join that return NumericDocValues Modifier and Type Method Description static 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(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.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.static NumericDocValues
BlockJoinSelector. wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.(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 NumericDocValues Modifier and Type Method Description static 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(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.(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 NumericDocValues Constructor Description 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 NumericDocValues Modifier and Type Field Description private NumericDocValues
DocumentDictionary.DocumentInputIterator. weightValues
-
Uses of NumericDocValues in org.apache.lucene.search.uhighlight
Methods in org.apache.lucene.search.uhighlight that return NumericDocValues Modifier and Type Method Description NumericDocValues
PhraseHelper.SingleFieldWithOffsetsFilterLeafReader. getNormValues(java.lang.String field)
-