Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract SortedNumericDocValues |
DocValuesProducer.getSortedNumeric(FieldInfo field)
Returns
SortedNumericDocValues for this field. |
Modifier and Type | Class and Description |
---|---|
static class |
AssertingLeafReader.AssertingSortedNumericDocValues
Wraps a SortedNumericDocValues but with additional asserts
|
class |
LegacySortedNumericDocValuesWrapper
Deprecated.
Implement
SortedNumericDocValues directly. |
Modifier and Type | Method and Description |
---|---|
static SortedNumericDocValues |
DocValues.emptySortedNumeric(int maxDoc)
An empty SortedNumericDocValues which returns zero values for every document
|
SortedNumericDocValues |
EmptyDocValuesProducer.getSortedNumeric(FieldInfo field) |
static SortedNumericDocValues |
DocValues.getSortedNumeric(LeafReader reader,
java.lang.String field)
Returns SortedNumericDocValues for the field, or
DocValues.emptySortedNumeric(int) if it has none. |
SortedNumericDocValues |
AssertingLeafReader.getSortedNumericDocValues(java.lang.String field) |
SortedNumericDocValues |
FieldFilterLeafReader.getSortedNumericDocValues(java.lang.String field) |
abstract SortedNumericDocValues |
LeafReader.getSortedNumericDocValues(java.lang.String field)
Returns
SortedNumericDocValues for this field, or
null if no SortedNumericDocValues were indexed for
this field. |
SortedNumericDocValues |
ParallelLeafReader.getSortedNumericDocValues(java.lang.String field) |
SortedNumericDocValues |
CodecReader.getSortedNumericDocValues(java.lang.String field) |
SortedNumericDocValues |
FilterLeafReader.getSortedNumericDocValues(java.lang.String field) |
static SortedNumericDocValues |
MultiDocValues.getSortedNumericValues(IndexReader r,
java.lang.String field)
Returns a SortedNumericDocValues for a reader's docvalues (potentially merging on-the-fly)
|
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv)
Returns a multi-valued view over the provided NumericDocValues
|
Modifier and Type | Method and Description |
---|---|
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. |
Constructor and Description |
---|
AssertingSortedNumericDocValues(SortedNumericDocValues in,
int maxDoc) |
Modifier and Type | Field and Description |
---|---|
protected SortedNumericDocValues |
DocValuesStats.SortedNumericDocValuesStats.sndv |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
SortedNumericDocValues |
TermVectorLeafReader.getSortedNumericDocValues(java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.