Package | Description |
---|---|
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 | Class and Description |
---|---|
class |
BitsFilteredDocIdSet
This implementation supplies a filtered DocIdSet, that excludes all
docids which are not in a Bits instance.
|
class |
DocValuesDocIdSet
Base class for DocIdSet to be used with DocValues.
|
class |
FilteredDocIdSet
Abstract decorator class for a DocIdSet implementation
that provides on-demand filtering/validation
mechanism on a given DocIdSet.
|
Modifier and Type | Field and Description |
---|---|
static DocIdSet |
DocIdSet.EMPTY
An empty
DocIdSet instance |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
LRUFilterCache.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
CachingWrapperFilter.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
LRUFilterCache.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
DocIdSet |
FilteredDocIdSet.getDelegate()
Return the wrapped
DocIdSet . |
DocIdSet |
QueryWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
DocIdSet |
MultiTermQueryWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Returns a DocIdSet with documents that should be permitted in search
results.
|
abstract DocIdSet |
Filter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Creates a
DocIdSet enumerating the documents that should be
permitted in search results. |
DocIdSet |
FieldValueFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
DocIdSet |
DocValuesTermsFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
abstract DocIdSet |
DocValuesRangeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
This method is implemented for each data type
|
abstract DocIdSet |
DocTermOrdsRangeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
This method is implemented for each data type
|
DocIdSet |
CachingWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
static DocIdSet |
BitsFilteredDocIdSet.wrap(DocIdSet set,
Bits acceptDocs)
Convenience wrapper method: If
acceptDocs == null it returns the original set without wrapping. |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
LRUFilterCache.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
BulkScorer |
FilteredQuery.FilterStrategy.filteredBulkScorer(LeafReaderContext context,
Weight weight,
DocIdSet docIdSet)
Returns a filtered
BulkScorer based on this
strategy. |
abstract Scorer |
FilteredQuery.FilterStrategy.filteredScorer(LeafReaderContext context,
Weight weight,
DocIdSet docIdSet)
Returns a filtered
Scorer based on this strategy. |
Scorer |
FilteredQuery.RandomAccessFilterStrategy.filteredScorer(LeafReaderContext context,
Weight weight,
DocIdSet docIdSet) |
boolean |
UsageTrackingFilterCachingPolicy.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set) |
boolean |
FilterCachingPolicy.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set)
Whether the given
DocIdSet should be cached on a given segment. |
boolean |
FilterCachingPolicy.CacheOnLargeSegments.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set) |
static DocIdSet |
BitsFilteredDocIdSet.wrap(DocIdSet set,
Bits acceptDocs)
Convenience wrapper method: If
acceptDocs == null it returns the original set without wrapping. |
Constructor and Description |
---|
BitsFilteredDocIdSet(DocIdSet innerSet,
Bits acceptDocs)
Constructor.
|
FilteredDocIdSet(DocIdSet innerSet)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BitDocIdSet
|
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. |
Constructor and Description |
---|
NotDocIdSet(int maxDoc,
DocIdSet in)
Sole constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
EliasFanoDocIdSet
A DocIdSet in Elias-Fano encoding.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.