Package | Description |
---|---|
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.queries |
Filters and Queries that add to core Lucene.
|
org.apache.lucene.sandbox.queries |
Additional queries (some may have caveats or limitations)
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.spatial.util |
Various spatial utilities.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
DocIdSet |
FacetsCollector.MatchingDocs.bits
Which documents were seen.
|
Modifier and Type | Method and Description |
---|---|
abstract DocIdSet |
FacetsCollector.Docs.getDocIdSet()
Return the
DocIdSet which contains all the recorded docs. |
Constructor and Description |
---|
MatchingDocs(LeafReaderContext context,
DocIdSet bits,
int totalHits,
float[] scores)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
DocIdSet |
BooleanFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
Returns the a DocIdSetIterator representing the Boolean composition
of the filters that have been added.
|
DocIdSet |
TermsFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocIdSet |
DuplicateFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
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 |
CachingWrapperQuery.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
LRUFilterCache.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Deprecated.
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
CachingWrapperFilter.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Deprecated.
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
LRUQueryCache.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
LRUFilterCache.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Deprecated.
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Deprecated.
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
DocIdSet |
FilteredDocIdSet.getDelegate()
Return the wrapped
DocIdSet . |
abstract DocIdSet |
DocTermOrdsRangeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
This method is implemented for each data type
|
DocIdSet |
DocValuesTermsFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
abstract DocIdSet |
DocValuesRangeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
This method is implemented for each data type
|
DocIdSet |
QueryWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
DocIdSet |
FieldValueFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
abstract DocIdSet |
Filter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Creates a
DocIdSet enumerating the documents that should be
permitted in search results. |
DocIdSet |
MultiTermQueryWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
Returns a DocIdSet with documents that should be permitted in search
results.
|
DocIdSet |
CachingWrapperFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
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)
Deprecated.
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
protected DocIdSet |
CachingWrapperFilter.docIdSetToCache(DocIdSet docIdSet,
LeafReader reader)
Deprecated.
Provide the DocIdSet to be cached, using the DocIdSet provided
by the wrapped Filter.
|
boolean |
FilterCachingPolicy.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set)
Deprecated.
Whether the given
DocIdSet should be cached on a given segment. |
boolean |
FilterCachingPolicy.CacheOnLargeSegments.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set) |
boolean |
UsageTrackingFilterCachingPolicy.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 | Method and Description |
---|---|
DocIdSet |
BitDocIdSetFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract DocIdSet |
AbstractVisitingPrefixTreeFilter.VisitorTemplate.finish()
Called last to return the result.
|
DocIdSet |
AbstractVisitingPrefixTreeFilter.VisitorTemplate.getDocIdSet() |
DocIdSet |
IntersectsPrefixTreeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
DocIdSet |
ContainsPrefixTreeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
DocIdSet |
WithinPrefixTreeFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
Modifier and Type | Method and Description |
---|---|
DocIdSet |
ValueSourceFilter.getDocIdSet(LeafReaderContext context,
Bits acceptDocs) |
Modifier and Type | Class and Description |
---|---|
class |
BaseDocIdSetTestCase<T extends DocIdSet>
Base test class for
DocIdSet s. |
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. |
Modifier and Type | Method and Description |
---|---|
DocIdSet |
DocIdSetBuilder.build()
Build a
DocIdSet from the accumulated doc IDs. |
DocIdSet |
DocIdSetBuilder.build(long costHint)
|
Constructor and Description |
---|
NotDocIdSet(int maxDoc,
DocIdSet in)
Sole constructor.
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.