Package | Description |
---|---|
org.apache.lucene.facet.search |
Faceted Search API
API for faceted search has several interfaces - simple, top level ones, adequate for most users,
and advanced, more complicated ones, for the more advanced users.
|
org.apache.lucene.facet.util |
Various utilities for faceted search
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
This modules support index-time and query-time joins.
|
org.apache.lucene.spatial.geohash |
Support for Geohash encoding, decoding, and filtering.
|
org.apache.lucene.spatial.tier |
Support for filtering based upon geographic location.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
DocIdSet |
ScoredDocIDs.getDocIDs()
Returns the set of doc IDs.
|
Modifier and Type | Method and Description |
---|---|
static ScoredDocIDs |
ScoredDocIdsUtils.createScoredDocIds(DocIdSet docIdSet,
int maxDoc)
Create a ScoredDocIDs out of a given docIdSet and the total number of documents in an index
|
Modifier and Type | Class and Description |
---|---|
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. in Filters that hit no documents. |
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.CachingWrapperFilter.FilterCache<DocIdSet> |
CachingWrapperFilter.cache |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
IndexReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
protected DocIdSet |
ChainedFilter.finalResult(OpenBitSetDISI result,
int maxDocs)
Deprecated.
Either use CachingWrapperFilter, or
switch to a different DocIdSet implementation yourself.
This method will be removed in Lucene 4.0
|
DocIdSet |
SpanFilterResult.getDocIdSet()
Returns the docIdSet
|
DocIdSet |
RemoteCachingWrapperFilter.getDocIdSet(IndexReader reader)
Deprecated.
Uses the
FilterManager to keep the cache for a filter on the
searcher side of a remote connection. |
DocIdSet |
TermsFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
DuplicateFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
ChainedFilter.getDocIdSet(IndexReader reader)
|
DocIdSet |
BooleanFilter.getDocIdSet(IndexReader reader)
Returns the a DocIdSetIterator representing the Boolean composition
of the filters that have been added.
|
DocIdSet |
CachingWrapperFilterHelper.getDocIdSet(IndexReader reader) |
DocIdSet |
SpanQueryFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
QueryWrapperFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
MultiTermQueryWrapperFilter.getDocIdSet(IndexReader reader)
Returns a DocIdSet with documents that should be
permitted in search results.
|
abstract DocIdSet |
Filter.getDocIdSet(IndexReader reader)
Creates a
DocIdSet enumerating the documents that should be
permitted in search results. |
DocIdSet |
FieldValueFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
FieldCacheTermsFilter.getDocIdSet(IndexReader reader) |
abstract DocIdSet |
FieldCacheRangeFilter.getDocIdSet(IndexReader reader)
This method is implemented for each data type
|
DocIdSet |
CachingWrapperFilter.getDocIdSet(IndexReader reader) |
DocIdSet |
CachingSpanFilter.getDocIdSet(IndexReader reader) |
Modifier and Type | Method and Description |
---|---|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
IndexReader reader)
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
Constructor and Description |
---|
FilteredDocIdSet(DocIdSet innerSet)
Constructor.
|
SpanFilterResult(DocIdSet docIdSet,
List<SpanFilterResult.PositionInfo> positions) |
Modifier and Type | Method and Description |
---|---|
DocIdSet |
RawTermFilter.getDocIdSet(IndexReader reader) |
Modifier and Type | Method and Description |
---|---|
DocIdSet |
GeoHashDistanceFilter.getDocIdSet(IndexReader reader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocIdSet |
LatLongDistanceFilter.getDocIdSet(IndexReader reader)
Deprecated.
|
DocIdSet |
CartesianShapeFilter.getDocIdSet(IndexReader reader)
Deprecated.
|
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 |
SortedVIntList
Stores and iterate on sorted integers in compressed form in RAM.
|