Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.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.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene80 for an overview
of the index format. |
org.apache.lucene.codecs.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Lucene 8.0 file format.
|
org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
org.apache.lucene.document |
The logical representation of a
Document 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.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.search |
Code to search indices.
|
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.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
Modifier and Type | Field and Description |
---|---|
(package private) NumericDocValues |
DocValuesConsumer.NumericDocValuesSub.values |
private NumericDocValues |
NormsConsumer.NumericDocValuesSub.values |
Modifier and Type | Method and Description |
---|---|
abstract NumericDocValues |
NormsProducer.getNorms(FieldInfo field)
Returns
NumericDocValues for this field. |
abstract NumericDocValues |
DocValuesProducer.getNumeric(FieldInfo field)
Returns
NumericDocValues for this field. |
Modifier and Type | Method and Description |
---|---|
abstract void |
PushPostingsWriterBase.startTerm(NumericDocValues norms)
Start a new term.
|
Constructor and Description |
---|
NumericDocValuesSub(MergeState.DocMap docMap,
NumericDocValues values) |
NumericDocValuesSub(MergeState.DocMap docMap,
NumericDocValues values) |
Modifier and Type | Method and Description |
---|---|
void |
IDVersionPostingsWriter.startTerm(NumericDocValues norms) |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
Lucene50PostingsWriter.norms |
Modifier and Type | Method and Description |
---|---|
void |
Lucene50PostingsWriter.startTerm(NumericDocValues norms) |
Modifier and Type | Class and Description |
---|---|
private static class |
Lucene70DocValuesProducer.DenseNumericDocValues |
private static class |
Lucene70DocValuesProducer.SparseNumericDocValues |
(package private) static class |
Lucene70NormsProducer.DenseNormsIterator |
(package private) static class |
Lucene70NormsProducer.SparseNormsIterator |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
Lucene70NormsProducer.getNorms(FieldInfo field) |
NumericDocValues |
Lucene70DocValuesProducer.getNumeric(FieldInfo field) |
private NumericDocValues |
Lucene70DocValuesProducer.getNumeric(Lucene70DocValuesProducer.NumericEntry entry) |
Modifier and Type | Method and Description |
---|---|
private void |
Lucene70NormsConsumer.writeValues(NumericDocValues values,
int numBytesPerValue,
IndexOutput out) |
Modifier and Type | Class and Description |
---|---|
private static class |
Lucene80DocValuesProducer.DenseNumericDocValues |
private static class |
Lucene80DocValuesProducer.SparseNumericDocValues |
(package private) static class |
Lucene80NormsProducer.DenseNormsIterator |
(package private) static class |
Lucene80NormsProducer.SparseNormsIterator |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
Lucene80NormsProducer.getNorms(FieldInfo field) |
NumericDocValues |
Lucene80DocValuesProducer.getNumeric(FieldInfo field) |
private NumericDocValues |
Lucene80DocValuesProducer.getNumeric(Lucene80DocValuesProducer.NumericEntry entry) |
Modifier and Type | Method and Description |
---|---|
private void |
Lucene80NormsConsumer.writeValues(NumericDocValues values,
int numBytesPerValue,
IndexOutput out) |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
PerFieldDocValuesFormat.FieldsReader.getNumeric(FieldInfo field) |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
LatLonPointDistanceFeatureQuery.DistanceScorer.docValues |
private NumericDocValues |
LongDistanceFeatureQuery.DistanceScorer.docValues |
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
class |
FilterNumericDocValues
Delegates all methods to a wrapped
NumericDocValues . |
private static class |
NormValuesWriter.BufferedNorms |
private static class |
NumericDocValuesWriter.BufferedNumericDocValues |
(package private) static class |
SortingLeafReader.SortingNumericDocValues |
Modifier and Type | Field and Description |
---|---|
protected NumericDocValues |
FilterNumericDocValues.in
Wrapped values
|
private NumericDocValues |
SingletonSortedNumericDocValues.in |
Modifier and Type | Method and 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 documents
|
NumericDocValues |
Sorter.NumericDocValuesSupplier.get() |
static NumericDocValues |
MultiDocValues.getNormValues(IndexReader r,
java.lang.String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).
|
abstract NumericDocValues |
LeafReader.getNormValues(java.lang.String field)
Returns
NumericDocValues representing norms
for this field, or null if no NumericDocValues
were indexed. |
NumericDocValues |
FilterLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
SortingLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNormValues(java.lang.String field) |
NumericDocValues |
CodecReader.getNormValues(java.lang.String field) |
NumericDocValues |
ParallelLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
EmptyDocValuesProducer.getNumeric(FieldInfo field) |
NumericDocValues |
SegmentDocValuesProducer.getNumeric(FieldInfo field) |
static NumericDocValues |
DocValues.getNumeric(LeafReader reader,
java.lang.String field)
Returns NumericDocValues for the field, or
DocValues.emptyNumeric() if it has none. |
NumericDocValues |
SingletonSortedNumericDocValues.getNumericDocValues()
Return the wrapped
NumericDocValues |
abstract NumericDocValues |
LeafReader.getNumericDocValues(java.lang.String field)
Returns
NumericDocValues for this field, or
null if no numeric doc values were indexed for
this field. |
NumericDocValues |
FilterLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
SortingLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNumericDocValues(java.lang.String field) |
NumericDocValues |
CodecReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
ParallelLeafReader.getNumericDocValues(java.lang.String field) |
static NumericDocValues |
MultiDocValues.getNumericValues(IndexReader r,
java.lang.String field)
Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly)
|
(package private) static NumericDocValues |
Sorter.getOrWrapNumeric(LeafReader reader,
SortField sortField)
Wraps a
SortedNumericDocValues as a single-valued view if the field is an instance of SortedNumericSortField ,
returns NumericDocValues for the field otherwise. |
static NumericDocValues |
DocValues.unwrapSingleton(SortedNumericDocValues dv)
Returns a single-valued view of the SortedNumericDocValues, if it was previously
wrapped with
DocValues.singleton(NumericDocValues) , or null. |
Modifier and Type | Method and Description |
---|---|
private static void |
CheckIndex.checkNumericDocValues(java.lang.String fieldName,
NumericDocValues ndv,
NumericDocValues ndv2) |
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv)
Returns a multi-valued view over the provided NumericDocValues
|
(package private) static SortingLeafReader.CachedNumericDVs |
NumericDocValuesWriter.sortDocValues(int maxDoc,
Sorter.DocMap sortMap,
NumericDocValues oldDocValues) |
Constructor and Description |
---|
FilterNumericDocValues(NumericDocValues in)
Sole constructor
|
SingletonSortedNumericDocValues(NumericDocValues in) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected NumericDocValues |
MultiValuedDoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
FloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
IntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
DoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedFloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedIntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedLongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
LongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
Modifier and Type | Class and Description |
---|---|
private static class |
MultiNormsLeafSimScorer.MultiFieldNormValues |
(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)
|
Modifier and Type | Field and Description |
---|---|
protected NumericDocValues |
FieldComparator.NumericComparator.currentReaderValues |
protected NumericDocValues |
DocValuesStats.NumericDocValuesStats.ndv |
private NumericDocValues |
MultiNormsLeafSimScorer.norms |
private NumericDocValues |
LeafSimScorer.norms |
private NumericDocValues[] |
MultiNormsLeafSimScorer.MultiFieldNormValues.normsArr |
Modifier and Type | Method and Description |
---|---|
private static NumericDocValues |
DoubleValuesSource.asNumericDocValues(DoubleValuesSource.DoubleValuesHolder in,
java.util.function.DoubleToLongFunction converter) |
private static NumericDocValues |
LongValuesSource.asNumericDocValues(LongValuesSource.LongValuesHolder in) |
protected abstract NumericDocValues |
DiversifiedTopDocsCollector.getKeys(LeafReaderContext context)
Get a source of values used for grouping keys
|
protected NumericDocValues |
FieldComparator.NumericComparator.getNumericDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the NumericDocValues for the field in this segment
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected DiversifiedTopDocsCollector.ScoreDocKey |
DiversifiedTopDocsCollector.insert(DiversifiedTopDocsCollector.ScoreDocKey addition,
int docBase,
NumericDocValues keys) |
private static LongValues |
LongValuesSource.toLongValues(NumericDocValues in) |
Constructor and Description |
---|
MultiFieldNormValues(NumericDocValues[] normsArr,
float[] weightArr) |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
WeightedSpanTermExtractor.DelegatingLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
TermVectorLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
WeightedSpanTermExtractor.DelegatingLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
TermVectorLeafReader.getNumericDocValues(java.lang.String field) |
Modifier and Type | Class and Description |
---|---|
private static class |
ToParentDocValues.NumDV |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
ToParentDocValues.NumDV.values |
Modifier and Type | Method and Description |
---|---|
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) |
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
NumericDocValues , iterating over only
child documents, in order to only select one value per parent among
its children using the configured selection type. |
static NumericDocValues |
BlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
static NumericDocValues |
BlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedNumericDocValues in order to only select
one value per parent among its children using the configured
selection type. |
Modifier and Type | Method and Description |
---|---|
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) |
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
NumericDocValues , iterating over only
child documents, in order to only select one value per parent among
its children using the configured selection type. |
Constructor and Description |
---|
NumDV(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children) |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
PhraseHelper.SingleFieldWithOffsetsFilterLeafReader.getNormValues(java.lang.String field) |