Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DocsWithFieldSet
Accumulator for documents that have a value for a field.
|
Modifier and Type | Field and Description |
---|---|
static DocIdSet |
DocIdSet.EMPTY
An empty
DocIdSet instance |
(package private) DocIdSet |
MultiTermQueryConstantScoreWrapper.WeightOrDocIdSet.set |
(package private) DocIdSet |
TermInSetQuery.WeightOrDocIdSet.set |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Query,DocIdSet> |
LRUQueryCache.LeafCache.cache |
Modifier and Type | Method and Description |
---|---|
private DocIdSet |
LRUQueryCache.CachingWrapperWeight.cache(LeafReaderContext context) |
protected DocIdSet |
LRUQueryCache.cacheImpl(BulkScorer scorer,
int maxDoc)
Default cache implementation: uses
RoaringDocIdSet for sets that
have a density < 1% and a BitDocIdSet over a FixedBitSet
otherwise. |
private static DocIdSet |
LRUQueryCache.cacheIntoBitSet(BulkScorer scorer,
int maxDoc) |
private static DocIdSet |
LRUQueryCache.cacheIntoRoaringDocIdSet(BulkScorer scorer,
int maxDoc) |
(package private) DocIdSet |
LRUQueryCache.LeafCache.get(Query query) |
(package private) DocIdSet |
LRUQueryCache.get(Query key,
LeafReaderContext context,
IndexReader.CacheHelper cacheHelper) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
LRUQueryCache.LeafCache.putIfAbsent(Query query,
DocIdSet set) |
(package private) void |
LRUQueryCache.putIfAbsent(Query query,
LeafReaderContext context,
DocIdSet set,
IndexReader.CacheHelper cacheHelper) |
Constructor and Description |
---|
WeightOrDocIdSet(DocIdSet bitset) |
WeightOrDocIdSet(DocIdSet bitset) |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<IndexReader.CacheKey,DocIdSet> |
QueryBitSetProducer.cache |
Modifier and Type | Class and Description |
---|---|
class |
BitDocIdSet
|
(package private) class |
IntArrayDocIdSet |
class |
NotDocIdSet
|
class |
RoaringDocIdSet
DocIdSet implementation inspired from http://roaringbitmap.org/
The space is divided into blocks of 2^16 bits and each block is encoded
independently. |
private static class |
RoaringDocIdSet.ShortArrayDocIdSet
DocIdSet implementation that can store documents up to 2^16-1 in a short[]. |
Modifier and Type | Field and Description |
---|---|
private DocIdSet[] |
RoaringDocIdSet.docIdSets |
private DocIdSet |
NotDocIdSet.in |
private DocIdSet[] |
RoaringDocIdSet.Builder.sets |
Modifier and Type | Method and Description |
---|---|
DocIdSet |
DocIdSetBuilder.build()
Build a
DocIdSet from the accumulated doc IDs. |
Constructor and Description |
---|
NotDocIdSet(int maxDoc,
DocIdSet in)
Sole constructor.
|
RoaringDocIdSet(DocIdSet[] docIdSets,
int cardinality) |