Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
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_DOCIDSET
An empty
DocIdSet instance for easy use, e.g. |
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.
|
abstract DocIdSet |
Filter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
Creates a
DocIdSet enumerating the documents that should be
permitted in search results. |
DocIdSet |
FieldCacheTermsFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
DocIdSet |
FieldValueFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
DocIdSet |
MultiTermQueryWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
Returns a DocIdSet with documents that should be permitted in search
results.
|
DocIdSet |
QueryWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
DocIdSet |
CachingWrapperFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs) |
abstract DocIdSet |
FieldCacheRangeFilter.getDocIdSet(AtomicReaderContext context,
Bits acceptDocs)
This method is implemented for each data type
|
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.
|
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 . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.