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.
|
Modifier and Type | Method and Description |
---|---|
abstract SortedNumericDocValues |
DocValuesProducer.getSortedNumeric(FieldInfo field)
Returns
SortedNumericDocValues for this field. |
Modifier and Type | Method and Description |
---|---|
void |
DocValuesConsumer.mergeSortedNumericField(FieldInfo fieldInfo,
MergeState mergeState,
List<SortedNumericDocValues> toMerge)
Merges the sorted docvalues from
toMerge . |
Modifier and Type | Method and Description |
---|---|
static SortedNumericDocValues |
DocValues.emptySortedNumeric(int maxDoc)
An empty SortedNumericDocValues which returns zero values for every document
|
static SortedNumericDocValues |
DocValues.getSortedNumeric(LeafReader reader,
String field)
Returns SortedNumericDocValues for the field, or
DocValues.emptySortedNumeric(int) if it has none. |
SortedNumericDocValues |
ParallelLeafReader.getSortedNumericDocValues(String field) |
abstract SortedNumericDocValues |
LeafReader.getSortedNumericDocValues(String field)
Returns
SortedNumericDocValues for this field, or
null if no SortedNumericDocValues were indexed for
this field. |
SortedNumericDocValues |
CodecReader.getSortedNumericDocValues(String field) |
SortedNumericDocValues |
FilterLeafReader.getSortedNumericDocValues(String field) |
static SortedNumericDocValues |
MultiDocValues.getSortedNumericValues(IndexReader r,
String field)
Returns a SortedNumericDocValues for a reader's docvalues (potentially merging on-the-fly)
|
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv,
Bits docsWithField)
Returns a multi-valued view over the provided NumericDocValues
|
Modifier and Type | Method and Description |
---|---|
static Bits |
DocValues.docsWithValue(SortedNumericDocValues dv,
int maxDoc)
Returns a Bits representing all documents from
dv that have a value. |
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. |
static Bits |
DocValues.unwrapSingletonBits(SortedNumericDocValues dv)
Returns the documents with a value for the SortedNumericDocValues, if it was previously
wrapped with
DocValues.singleton(NumericDocValues, Bits) , or null. |
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.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.