Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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.queries.function.docvalues |
FunctionValues for different data types.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping.term |
Support for grouping by indexed terms via
DocValues . |
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.uninverting |
Support for creating docvalues on-the-fly from the inverted index at runtime.
|
Modifier and Type | Method and Description |
---|---|
abstract SortedDocValues |
DocValuesProducer.getSorted(FieldInfo field)
Returns
SortedDocValues for this field. |
Modifier and Type | Method and Description |
---|---|
void |
DocValuesConsumer.mergeSortedField(FieldInfo fieldInfo,
MergeState mergeState,
java.util.List<SortedDocValues> toMerge)
Merges the sorted docvalues from
toMerge . |
Modifier and Type | Method and Description |
---|---|
SortedDocValues |
Lucene54DocValuesProducer.getSorted(FieldInfo field) |
Modifier and Type | Method and Description |
---|---|
SortedDocValues |
PerFieldDocValuesFormat.FieldsReader.getSorted(FieldInfo field) |
Modifier and Type | Class and Description |
---|---|
static class |
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap
|
private static class |
SortingLeafReader.SortingSortedDocValues |
Modifier and Type | Field and Description |
---|---|
private SortedDocValues |
SingletonSortedSetDocValues.in |
private SortedDocValues |
SortingLeafReader.SortingSortedDocValues.in |
SortedDocValues[] |
MultiDocValues.MultiSortedDocValues.values
leaf values
|
private SortedDocValues |
SortedDocValuesTermsEnum.values |
Modifier and Type | Method and Description |
---|---|
static SortedDocValues |
DocValues.emptySorted()
An empty SortedDocValues which returns
BytesRef.EMPTY_BYTES for every document |
SortedDocValues |
SegmentDocValuesProducer.getSorted(FieldInfo field) |
static SortedDocValues |
DocValues.getSorted(LeafReader reader,
java.lang.String field)
Returns SortedDocValues for the field, or
DocValues.emptySorted() if it has none. |
SortedDocValues |
SingletonSortedSetDocValues.getSortedDocValues()
Return the wrapped
SortedDocValues |
SortedDocValues |
CodecReader.getSortedDocValues(java.lang.String field) |
SortedDocValues |
FilterLeafReader.getSortedDocValues(java.lang.String field) |
abstract SortedDocValues |
LeafReader.getSortedDocValues(java.lang.String field)
Returns
SortedDocValues for this field, or
null if no SortedDocValues were indexed for
this field. |
SortedDocValues |
ParallelLeafReader.getSortedDocValues(java.lang.String field) |
SortedDocValues |
MergeReaderWrapper.getSortedDocValues(java.lang.String field) |
SortedDocValues |
SlowCompositeReaderWrapper.getSortedDocValues(java.lang.String field)
Deprecated.
|
SortedDocValues |
SortingLeafReader.getSortedDocValues(java.lang.String field) |
static SortedDocValues |
MultiDocValues.getSortedValues(IndexReader r,
java.lang.String field)
Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).
|
static SortedDocValues |
DocValues.unwrapSingleton(SortedSetDocValues dv)
Returns a single-valued view of the SortedSetDocValues, if it was previously
wrapped with
DocValues.singleton(SortedDocValues) , or null. |
Modifier and Type | Method and Description |
---|---|
static MultiDocValues.OrdinalMap |
MultiDocValues.OrdinalMap.build(java.lang.Object owner,
SortedDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedDocValues instance as a weight. |
private static void |
CheckIndex.checkSortedDocValues(java.lang.String fieldName,
int maxDoc,
SortedDocValues dv,
Bits docsWithField) |
static Bits |
DocValues.docsWithValue(SortedDocValues dv,
int maxDoc)
Returns a Bits representing all documents from
dv that have a value. |
static RandomAccessOrds |
DocValues.singleton(SortedDocValues dv)
Returns a multi-valued view over the provided SortedDocValues
|
Constructor and Description |
---|
MultiSortedDocValues(SortedDocValues[] values,
int[] docStarts,
MultiDocValues.OrdinalMap mapping)
Creates a new MultiSortedDocValues over
values |
SingletonSortedSetDocValues(SortedDocValues in)
Creates a multi-valued view over the provided SortedDocValues
|
SortedDocValuesTermsEnum(SortedDocValues values)
Creates a new TermsEnum over the provided values
|
SortingSortedDocValues(SortedDocValues in,
Sorter.DocMap docMap) |
Modifier and Type | Field and Description |
---|---|
(package private) SortedDocValues |
MemoryIndex.BinaryDocValuesProducer.sortedDocValues |
Modifier and Type | Method and Description |
---|---|
SortedDocValues |
MemoryIndex.MemoryIndexReader.getSortedDocValues(java.lang.String field) |
private SortedDocValues |
MemoryIndex.MemoryIndexReader.getSortedDocValues(java.lang.String field,
DocValuesType docValuesType) |
Modifier and Type | Field and Description |
---|---|
protected SortedDocValues |
DocTermsIndexDocValues.termsIndex |
Modifier and Type | Method and Description |
---|---|
(package private) static SortedDocValues |
DocTermsIndexDocValues.open(LeafReaderContext context,
java.lang.String field) |
Constructor and Description |
---|
DocTermsIndexDocValues(ValueSource vs,
SortedDocValues termsIndex) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SortedSetSelector.MaxValue
Wraps a SortedSetDocValues and returns the last ordinal (max)
|
(package private) static class |
SortedSetSelector.MiddleMaxValue
Wraps a SortedSetDocValues and returns the middle ordinal (or max of the two)
|
(package private) static class |
SortedSetSelector.MiddleMinValue
Wraps a SortedSetDocValues and returns the middle ordinal (or min of the two)
|
(package private) static class |
SortedSetSelector.MinValue
Wraps a SortedSetDocValues and returns the first ordinal (min)
|
Modifier and Type | Field and Description |
---|---|
(package private) SortedDocValues |
FieldComparator.TermOrdValComparator.termsIndex |
Modifier and Type | Method and Description |
---|---|
protected SortedDocValues |
FieldComparator.TermOrdValComparator.getSortedDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the SortedDocValues for the field in this segment
|
static SortedDocValues |
SortedSetSelector.wrap(SortedSetDocValues sortedSet,
SortedSetSelector.Type selector)
Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
|
Modifier and Type | Field and Description |
---|---|
private SortedDocValues |
TermDistinctValuesCollector.countFieldTermIndex |
private SortedDocValues |
TermGroupFacetCollector.SV.facetFieldTermsIndex |
private SortedDocValues |
TermDistinctValuesCollector.groupFieldTermIndex |
(package private) SortedDocValues |
TermGroupFacetCollector.groupFieldTermsIndex |
(package private) SortedDocValues |
TermAllGroupHeadsCollector.groupIndex |
private SortedDocValues |
TermAllGroupsCollector.index |
private SortedDocValues |
TermFirstPassGroupingCollector.index |
private SortedDocValues |
TermSecondPassGroupingCollector.index |
(package private) SortedDocValues[] |
TermAllGroupHeadsCollector.OrdScoreAllGroupHeadsCollector.sortsIndex |
(package private) SortedDocValues[] |
TermAllGroupHeadsCollector.OrdAllGroupHeadsCollector.sortsIndex |
Modifier and Type | Method and Description |
---|---|
SortedDocValues |
TermVectorLeafReader.getSortedDocValues(java.lang.String field) |
SortedDocValues |
WeightedSpanTermExtractor.DelegatingLeafReader.getSortedDocValues(java.lang.String field) |
Modifier and Type | Field and Description |
---|---|
private SortedDocValues |
GlobalOrdinalsCollector.OrdinalMapCollector.docTermOrds |
private SortedDocValues |
GlobalOrdinalsCollector.SegmentOrdinalCollector.docTermOrds |
private SortedDocValues |
GlobalOrdinalsWithScoreCollector.OrdinalMapCollector.docTermOrds |
private SortedDocValues |
GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector.docTermOrds |
(package private) SortedDocValues |
BaseGlobalOrdinalScorer.values |
Modifier and Type | Method and Description |
---|---|
static SortedDocValues |
BlockJoinSelector.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Wraps the provided
SortedDocValues in order to only select
one value per parent among its children using the configured
selection type. |
static SortedDocValues |
BlockJoinSelector.wrap(SortedSetDocValues sortedSet,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Wraps the provided
SortedSetDocValues in order to only select
one value per parent among its children using the configured
selection type. |
Modifier and Type | Method and Description |
---|---|
static SortedDocValues |
BlockJoinSelector.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
BitSet children)
Wraps the provided
SortedDocValues in order to only select
one value per parent among its children using the configured
selection type. |
Modifier and Type | Method and Description |
---|---|
SortedDocValues |
UninvertingReader.getSortedDocValues(java.lang.String field)
Deprecated.
|
SortedDocValues |
FieldCache.getTermsIndex(LeafReader reader,
java.lang.String field)
Checks the internal cache for an appropriate entry, and if none
is found, reads the term values in
field
and returns a SortedDocValues instance,
providing methods to retrieve sort ordinals and terms
(as a ByteRef) per document. |
SortedDocValues |
FieldCacheImpl.getTermsIndex(LeafReader reader,
java.lang.String field) |
SortedDocValues |
FieldCache.getTermsIndex(LeafReader reader,
java.lang.String field,
float acceptableOverheadRatio)
Expert: just like
FieldCache.getTermsIndex(org.apache.lucene.index.LeafReader,String) , but you can specify
whether more RAM should be consumed in exchange for
faster lookups (default is "true"). |
SortedDocValues |
FieldCacheImpl.getTermsIndex(LeafReader reader,
java.lang.String field,
float acceptableOverheadRatio) |
SortedDocValues |
FieldCacheImpl.SortedDocValuesImpl.iterator() |