Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
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.util |
Some utility classes.
|
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 |
---|---|
NumericDocValues |
SimpleTextNormsFormat.SimpleTextNormsProducer.getNorms(FieldInfo field) |
Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
class |
FilterNumericDocValues
Delegates all methods to a wrapped
NumericDocValues . |
class |
LegacyNumericDocValuesWrapper
Deprecated.
Implement
NumericDocValues directly. |
Modifier and Type | Field and Description |
---|---|
protected NumericDocValues |
FilterNumericDocValues.in
Wrapped values
|
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
DocValues.emptyNumeric()
An empty NumericDocValues which returns no documents
|
static NumericDocValues |
MultiDocValues.getNormValues(IndexReader r,
java.lang.String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).
|
NumericDocValues |
AssertingLeafReader.getNormValues(java.lang.String field) |
NumericDocValues |
FieldFilterLeafReader.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 |
CodecReader.getNormValues(java.lang.String field) |
NumericDocValues |
FilterLeafReader.getNormValues(java.lang.String 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 |
AssertingLeafReader.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 |
ParallelLeafReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
CodecReader.getNumericDocValues(java.lang.String field) |
NumericDocValues |
FilterLeafReader.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) , or null. |
Modifier and Type | Method and Description |
---|---|
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv)
Returns a multi-valued view over the provided NumericDocValues
|
Constructor and Description |
---|
AssertingNumericDocValues(NumericDocValues in,
int maxDoc) |
FilterNumericDocValues(NumericDocValues in)
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
protected NumericDocValues |
LongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
DoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
IntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedDoubleFieldSource.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 |
FloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedLongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
Modifier and Type | Field and Description |
---|---|
protected NumericDocValues |
FieldComparator.NumericComparator.currentReaderValues |
protected NumericDocValues |
DocValuesStats.NumericDocValuesStats.ndv |
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 |
TermVectorLeafReader.getNumericDocValues(java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Deprecated.
|
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
void |
LuceneTestCase.assertDocValuesEquals(java.lang.String info,
int num,
NumericDocValues leftDocValues,
NumericDocValues rightDocValues) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.