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 |
FieldCacheDocIdSet
Base class for DocIdSet to be used with FieldCache.
|
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 |
CachingWrapperFilter.cacheImpl(DocIdSetIterator iterator,
AtomicReader reader)
Default cache implementation: uses
WAH8DocIdSet . |
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
AtomicReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
DocIdSet |
FieldCacheTermsFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
abstract DocIdSet |
DocTermOrdsRangeFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
This method is implemented for each data type
|
DocIdSet |
FieldValueFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
DocIdSet |
QueryWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
DocIdSet |
MultiTermQueryWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
Returns a DocIdSet with documents that should be permitted in search
results.
|
abstract DocIdSet |
FieldCacheRangeFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
This method is implemented for each data type
|
DocIdSet |
CachingWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
abstract DocIdSet |
Filter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
Creates a
DocIdSet enumerating the documents that should be
permitted in search results. |
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 |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
AtomicReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
BulkScorer |
FilteredQuery.FilterStrategy.filteredBulkScorer(AtomicReaderContext context,
Weight weight,
boolean scoreDocsInOrder,
DocIdSet docIdSet)
Returns a filtered
BulkScorer based on this
strategy. |
abstract Scorer |
FilteredQuery.FilterStrategy.filteredScorer(AtomicReaderContext context,
Weight weight,
DocIdSet docIdSet)
Returns a filtered
Scorer based on this strategy. |
Scorer |
FilteredQuery.RandomAccessFilterStrategy.filteredScorer(AtomicReaderContext context,
Weight weight,
DocIdSet docIdSet) |
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 |
DocIdBitSet
Simple DocIdSet and DocIdSetIterator backed by a BitSet
|
class |
FixedBitSet
BitSet of fixed length (numBits), backed by accessible (
FixedBitSet.getBits() )
long[], accessed with an int index, implementing Bits and
DocIdSet . |
class |
OpenBitSet
An "open" BitSet implementation that allows direct access to the array of words
storing the bits.
|
class |
OpenBitSetDISI
OpenBitSet with added methods to bulk-update the bits
from a
DocIdSetIterator . |
class |
PForDeltaDocIdSet
DocIdSet implementation based on pfor-delta encoding. |
class |
WAH8DocIdSet
DocIdSet implementation based on word-aligned hybrid encoding on
words of 8 bits. |
Modifier and Type | Class and Description |
---|---|
class |
EliasFanoDocIdSet
A DocIdSet in Elias-Fano encoding.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.