Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
IndexReader.CacheKey |
OrdinalMap.owner
Cache key of whoever asked for this awful thing
|
Modifier and Type | Method and Description |
---|---|
IndexReader.CacheKey |
IndexReader.CacheHelper.getKey()
Get a key that the resource can be cached on.
|
Modifier and Type | Method and Description |
---|---|
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
SortedDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedDocValues instance as a weight. |
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
SortedSetDocValues[] values,
float acceptableOverheadRatio)
Create an ordinal map that uses the number of unique values of each
SortedSetDocValues instance as a weight. |
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
TermsEnum[] subs,
long[] weights,
float acceptableOverheadRatio)
Creates an ordinal map that allows mapping ords to/from a merged
space from
subs . |
void |
IndexReader.ClosedListener.onClose(IndexReader.CacheKey key)
Invoked when the resource (segment core, or index reader) that is
being cached on is closed.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.