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.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,
List<NumericDocValues> toMerge)
Merges the norms from
toMerge . |
void |
DocValuesConsumer.mergeNumericField(FieldInfo fieldInfo,
MergeState mergeState,
List<NumericDocValues> toMerge,
List<Bits> docsWithField)
Merges the numeric docvalues from
toMerge . |
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,
String field)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).
|
abstract NumericDocValues |
LeafReader.getNormValues(String field)
Returns
NumericDocValues representing norms
for this field, or null if no NumericDocValues
were indexed. |
NumericDocValues |
CodecReader.getNormValues(String field) |
NumericDocValues |
FilterLeafReader.getNormValues(String field) |
NumericDocValues |
ParallelLeafReader.getNormValues(String field) |
static NumericDocValues |
DocValues.getNumeric(LeafReader reader,
String field)
Returns NumericDocValues for the field, or
DocValues.emptyNumeric() if it has none. |
abstract NumericDocValues |
LeafReader.getNumericDocValues(String field)
Returns
NumericDocValues for this field, or
null if no NumericDocValues were indexed for
this field. |
NumericDocValues |
CodecReader.getNumericDocValues(String field) |
NumericDocValues |
FilterLeafReader.getNumericDocValues(String field) |
NumericDocValues |
ParallelLeafReader.getNumericDocValues(String field) |
static NumericDocValues |
MultiDocValues.getNumericValues(IndexReader r,
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 |
---|---|
static SortedNumericDocValues |
DocValues.singleton(NumericDocValues dv,
Bits docsWithField)
Returns a multi-valued view over the provided NumericDocValues
|
Modifier and Type | Field and Description |
---|---|
protected NumericDocValues |
FieldComparator.NumericComparator.currentReaderValues |
Modifier and Type | Method and Description |
---|---|
protected NumericDocValues |
FieldComparator.NumericComparator.getNumericDocValues(LeafReaderContext context,
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 | Class and Description |
---|---|
class |
LongValues
Abstraction over an array of longs.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockPackedReader
Provides random access to a stream written with
BlockPackedWriter . |
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 . |
static class |
PackedInts.Mutable
A packed integer array that can be modified.
|
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.
|
class |
PackedLongValues
Utility class to compress integers into a
LongValues instance. |
class |
PagedGrowableWriter
|
class |
PagedMutable
A
PagedMutable . |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.