| Package | Description |
|---|---|
| org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
| org.apache.lucene.codecs.lucene70 |
Lucene 7.0 file format.
|
| org.apache.lucene.codecs.perfield |
Postings format that can delegate to different formats per-field.
|
| 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.similarities |
This package contains the various ranking models that can be used in Lucene.
|
| 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 |
|---|---|
private NumericDocValues |
NormsConsumer.NumericDocValuesSub.values |
(package private) NumericDocValues |
DocValuesConsumer.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. |
| Constructor and Description |
|---|
NumericDocValuesSub(MergeState.DocMap docMap,
NumericDocValues values) |
NumericDocValuesSub(MergeState.DocMap docMap,
NumericDocValues values) |
| 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 | Method and Description |
|---|---|
NumericDocValues |
PerFieldDocValuesFormat.FieldsReader.getNumeric(FieldInfo field) |
| Modifier and Type | Class and Description |
|---|---|
class |
FilterNumericDocValues
Delegates all methods to a wrapped
NumericDocValues. |
class |
LegacyNumericDocValuesWrapper
Deprecated.
Implement
NumericDocValues directly. |
private static class |
NormValuesWriter.BufferedNorms |
private static class |
NumericDocValuesWriter.BufferedNumericDocValues |
(package private) static class |
SortingLeafReader.SortingNumericDocValues |
| Modifier and Type | Field and Description |
|---|---|
private NumericDocValues |
SingletonSortedNumericDocValues.in |
protected NumericDocValues |
FilterNumericDocValues.in
Wrapped values
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
NumericDocValues |
SortingLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
ParallelLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNormValues(java.lang.String field) |
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 |
CodecReader.getNormValues(java.lang.String field) |
NumericDocValues |
SegmentDocValuesProducer.getNumeric(FieldInfo field) |
NumericDocValues |
EmptyDocValuesProducer.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 |
NumericDocValues |
SortingLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
ParallelLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNumericDocValues(java.lang.String field) |
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 |
CodecReader.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) |
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 |
MultiValuedLongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedIntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedFloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedDoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
LongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
IntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
FloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
DoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
| Modifier and Type | Class and 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)
|
| Modifier and Type | Field and Description |
|---|---|
protected NumericDocValues |
FieldComparator.NumericComparator.currentReaderValues |
protected NumericDocValues |
DocValuesStats.NumericDocValuesStats.ndv |
| 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) |
| 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 | Field and Description |
|---|---|
private NumericDocValues |
TFIDFSimilarity.TFIDFSimScorer.norms |
private NumericDocValues |
SimilarityBase.BasicSimScorer.norms |
private NumericDocValues |
BM25Similarity.BM25DocScorer.norms |
| Modifier and Type | Method and Description |
|---|---|
private Explanation |
TFIDFSimilarity.explainField(int doc,
Explanation freq,
TFIDFSimilarity.IDFStats stats,
NumericDocValues norms,
float[] normTable) |
private Explanation |
BM25Similarity.explainScore(int doc,
Explanation freq,
BM25Similarity.BM25Stats stats,
NumericDocValues norms,
float[] lengthCache) |
private Explanation |
TFIDFSimilarity.explainScore(int doc,
Explanation freq,
TFIDFSimilarity.IDFStats stats,
NumericDocValues norms,
float[] normTable) |
private Explanation |
BM25Similarity.explainTFNorm(int doc,
Explanation freq,
BM25Similarity.BM25Stats stats,
NumericDocValues norms,
float[] lengthCache) |
| Constructor and Description |
|---|
BasicSimScorer(BasicStats stats,
int indexCreatedVersionMajor,
NumericDocValues norms) |
BM25DocScorer(BM25Similarity.BM25Stats stats,
int indexCreatedVersionMajor,
NumericDocValues norms) |
TFIDFSimScorer(TFIDFSimilarity.IDFStats stats,
NumericDocValues norms,
float[] normTable) |
| Modifier and Type | Method and Description |
|---|---|
NumericDocValues |
PhraseHelper.SingleFieldFilterLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
PhraseHelper.SingleFieldFilterLeafReader.getNumericDocValues(java.lang.String field) |