Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.lucene53 |
Components from the Lucene 5.3 index format
See
org.apache.lucene.codecs.lucene54 for an overview
of the index format. |
org.apache.lucene.codecs.lucene54 |
Lucene 5.4 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.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.uninverting |
Support for creating docvalues on-the-fly from the inverted index at runtime.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.util.packed |
Packed integer arrays and streams.
|
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 |
---|---|
void |
NormsConsumer.mergeNormsField(FieldInfo fieldInfo,
MergeState mergeState,
java.util.List<NumericDocValues> toMerge)
Merges the norms from
toMerge . |
void |
DocValuesConsumer.mergeNumericField(FieldInfo fieldInfo,
MergeState mergeState,
java.util.List<NumericDocValues> toMerge,
java.util.List<Bits> docsWithField)
Merges the numeric docvalues from
toMerge . |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
Lucene53NormsProducer.getNorms(FieldInfo field) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Lucene54DocValuesProducer.SparseLongValues |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
Lucene54DocValuesProducer.getNumeric(FieldInfo field) |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
PerFieldDocValuesFormat.FieldsReader.getNumeric(FieldInfo field) |
Modifier and Type | Class and Description |
---|---|
private static class |
SortingLeafReader.SortingNumericDocValues |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
SingletonSortedNumericDocValues.in |
private NumericDocValues |
SortingLeafReader.SortingNumericDocValues.in |
Modifier and Type | Field and Description |
---|---|
(package private) CloseableThreadLocal<java.util.Map<java.lang.String,NumericDocValues>> |
CodecReader.normsLocal |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
DocValues.emptyNumeric()
An empty NumericDocValues which returns zero for every document
|
static NumericDocValues |
MultiDocValues.getNormValues(IndexReader r,
java.lang.String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).
|
NumericDocValues |
CodecReader.getNormValues(java.lang.String field) |
NumericDocValues |
FilterLeafReader.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 |
ParallelLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNormValues(java.lang.String field) |
NumericDocValues |
SlowCompositeReaderWrapper.getNormValues(java.lang.String field)
Deprecated.
|
NumericDocValues |
SortingLeafReader.getNormValues(java.lang.String 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 |
NumericDocValues |
CodecReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
FilterLeafReader.getNumericDocValues(java.lang.String field) |
abstract NumericDocValues |
LeafReader.getNumericDocValues(java.lang.String field)
Returns
NumericDocValues for this field, or
null if no NumericDocValues were indexed for
this field. |
NumericDocValues |
ParallelLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
MergeReaderWrapper.getNumericDocValues(java.lang.String field) |
NumericDocValues |
SlowCompositeReaderWrapper.getNumericDocValues(java.lang.String field)
Deprecated.
|
NumericDocValues |
SortingLeafReader.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)
|
static NumericDocValues |
DocValues.unwrapSingleton(SortedNumericDocValues dv)
Returns a single-valued view of the SortedNumericDocValues, if it was previously
wrapped with
DocValues.singleton(NumericDocValues, Bits) , or null. |
Modifier and Type | Method and Description |
---|---|
private static void |
CheckIndex.checkNumericDocValues(java.lang.String fieldName,
int maxDoc,
NumericDocValues ndv,
Bits docsWithField) |
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv,
Bits docsWithField)
Returns a multi-valued view over the provided NumericDocValues
|
Constructor and Description |
---|
SingletonSortedNumericDocValues(NumericDocValues in,
Bits docsWithField) |
SortingNumericDocValues(NumericDocValues in,
Sorter.DocMap docMap) |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
MemoryIndex.Info.norms
The norms for this field; computed on demand.
|
(package private) NumericDocValues |
MemoryIndex.NumericDocValuesProducer.numericDocValues |
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) |
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 |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
Bits docsWithValue,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Wraps the provided
NumericDocValues 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)
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,
Bits docsWithValue,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Wraps the provided
NumericDocValues in order to only select
one value per parent among its children using the configured
selection type. |
Modifier and Type | Field and Description |
---|---|
private NumericDocValues |
BM25Similarity.BM25DocScorer.norms |
private NumericDocValues |
SimilarityBase.BasicSimScorer.norms |
private NumericDocValues |
TFIDFSimilarity.TFIDFSimScorer.norms |
Modifier and Type | Method and Description |
---|---|
private Explanation |
TFIDFSimilarity.explainField(int doc,
Explanation freq,
TFIDFSimilarity.IDFStats stats,
NumericDocValues norms) |
private Explanation |
BM25Similarity.explainScore(int doc,
Explanation freq,
BM25Similarity.BM25Stats stats,
NumericDocValues norms) |
private Explanation |
TFIDFSimilarity.explainScore(int doc,
Explanation freq,
TFIDFSimilarity.IDFStats stats,
NumericDocValues norms) |
private Explanation |
BM25Similarity.explainTFNorm(int doc,
Explanation freq,
BM25Similarity.BM25Stats stats,
NumericDocValues norms) |
Constructor and Description |
---|
BasicSimScorer(BasicStats stats,
NumericDocValues norms) |
BM25DocScorer(BM25Similarity.BM25Stats stats,
NumericDocValues norms) |
TFIDFSimScorer(TFIDFSimilarity.IDFStats stats,
NumericDocValues norms) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FieldCacheImpl.LongsFromArray |
Modifier and Type | Method and Description |
---|---|
NumericDocValues |
UninvertingReader.getNumericDocValues(java.lang.String field)
Deprecated.
|
NumericDocValues |
FieldCache.getNumerics(LeafReader reader,
java.lang.String field,
FieldCache.Parser parser,
boolean setDocsWithField)
Returns a
NumericDocValues over the values found in documents in the given
field. |
NumericDocValues |
FieldCacheImpl.getNumerics(LeafReader reader,
java.lang.String field,
FieldCache.Parser parser,
boolean setDocsWithField) |
Modifier and Type | Class and Description |
---|---|
class |
LongValues
Abstraction over an array of longs.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractPagedMutable<T extends AbstractPagedMutable<T>>
Base implementation for
PagedMutable and PagedGrowableWriter . |
class |
BlockPackedReader
Provides random access to a stream written with
BlockPackedWriter . |
(package private) class |
DeltaPackedLongValues |
(package private) class |
Direct16
Direct wrapping of 16-bits values to a backing array.
|
(package private) class |
Direct32
Direct wrapping of 32-bits values to a backing array.
|
(package private) class |
Direct64
Direct wrapping of 64-bits values to a backing array.
|
(package private) class |
Direct8
Direct wrapping of 8-bits values to a backing array.
|
(package private) class |
DirectPacked64SingleBlockReader |
(package private) class |
DirectPackedReader |
(package private) static class |
DirectReader.DirectPackedReader1 |
(package private) static class |
DirectReader.DirectPackedReader12 |
(package private) static class |
DirectReader.DirectPackedReader16 |
(package private) static class |
DirectReader.DirectPackedReader2 |
(package private) static class |
DirectReader.DirectPackedReader20 |
(package private) static class |
DirectReader.DirectPackedReader24 |
(package private) static class |
DirectReader.DirectPackedReader28 |
(package private) static class |
DirectReader.DirectPackedReader32 |
(package private) static class |
DirectReader.DirectPackedReader4 |
(package private) static class |
DirectReader.DirectPackedReader40 |
(package private) static class |
DirectReader.DirectPackedReader48 |
(package private) static class |
DirectReader.DirectPackedReader56 |
(package private) static class |
DirectReader.DirectPackedReader64 |
(package private) static class |
DirectReader.DirectPackedReader8 |
class |
GrowableWriter
Implements
PackedInts.Mutable , but grows the
bit count of the underlying packed ints on-demand. |
class |
MonotonicBlockPackedReader
Provides random access to a stream written with
MonotonicBlockPackedWriter . |
(package private) class |
MonotonicLongValues |
(package private) class |
Packed16ThreeBlocks
Packs integers into 3 shorts (48 bits per value).
|
(package private) class |
Packed64
Space optimized random access capable array of values with a fixed number of
bits/value.
|
(package private) class |
Packed64SingleBlock
This class is similar to
Packed64 except that it trades space for
speed by ensuring that a single block needs to be read/written in order to
read/write a value. |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock1 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock10 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock12 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock16 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock2 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock21 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock3 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock32 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock4 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock5 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock6 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock7 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock8 |
(package private) static class |
Packed64SingleBlock.Packed64SingleBlock9 |
(package private) class |
Packed8ThreeBlocks
Packs integers into 3 bytes (24 bits per value).
|
static class |
PackedInts.Mutable
A packed integer array that can be modified.
|
(package private) static class |
PackedInts.MutableImpl |
static class |
PackedInts.NullReader
A
PackedInts.Reader which has all its values equal to 0 (bitsPerValue = 0). |
static class |
PackedInts.Reader
A read-only random access array of positive integers.
|
(package private) static class |
PackedInts.ReaderImpl
A simple base for Readers that keeps track of valueCount and bitsPerValue.
|
class |
PackedLongValues
Utility class to compress integers into a
LongValues instance. |
class |
PagedGrowableWriter
|
class |
PagedMutable
A
PagedMutable . |