Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
class |
CachingWrapperFilter
Deprecated.
Use
CachingWrapperQuery and BooleanClause.Occur.FILTER clauses instead |
class |
FieldValueFilter
Deprecated.
Use
FieldValueQuery instead |
class |
MultiTermQueryWrapperFilter<Q extends MultiTermQuery>
Deprecated.
Use
MultiTermQueryConstantScoreWrapper instead |
class |
NumericRangeFilter<T extends Number>
Deprecated.
Use
NumericRangeQuery and BooleanClause.Occur.FILTER clauses instead. |
class |
PrefixFilter
Deprecated.
Use
PrefixQuery and BooleanClause.Occur.FILTER clauses instead. |
class |
QueryWrapperFilter
Deprecated.
You can use
Query objects directly for filtering by using
BooleanClause.Occur.FILTER clauses in a BooleanQuery . |
class |
TermRangeFilter
Deprecated.
Use
TermRangeQuery and BooleanClause.Occur.FILTER clauses instead. |
Modifier and Type | Method and Description |
---|---|
Filter |
LRUFilterCache.doCache(Filter filter,
FilterCachingPolicy policy)
Deprecated.
|
Filter |
FilterCache.doCache(Filter filter,
FilterCachingPolicy policy)
Deprecated.
Return a wrapper around the provided
filter that will cache
DocIdSet s per-segment accordingly to the given policy . |
Filter |
FilteredQuery.getFilter()
Deprecated.
Returns this FilteredQuery's filter
|
Filter |
CachingWrapperFilter.getFilter()
Deprecated.
Gets the contained filter.
|
Modifier and Type | Method and Description |
---|---|
void |
LRUFilterCache.clearFilter(Filter filter)
Deprecated.
Remove all cache entries for the given filter.
|
Filter |
LRUFilterCache.doCache(Filter filter,
FilterCachingPolicy policy)
Deprecated.
|
Filter |
FilterCache.doCache(Filter filter,
FilterCachingPolicy policy)
Deprecated.
Return a wrapper around the provided
filter that will cache
DocIdSet s per-segment accordingly to the given policy . |
protected void |
LRUFilterCache.onFilterCache(Filter filter,
long ramBytesUsed)
Deprecated.
Expert: callback when a filter is added to this cache.
|
protected void |
LRUFilterCache.onFilterEviction(Filter filter,
long ramBytesUsed)
Deprecated.
Expert: callback when a filter is evicted from this cache.
|
protected void |
LRUFilterCache.onHit(Object readerCoreKey,
Filter filter)
Deprecated.
Expert: callback when there is a cache hit on a given filter.
|
protected void |
LRUFilterCache.onMiss(Object readerCoreKey,
Filter filter)
Deprecated.
Expert: callback when there is a cache miss on a given filter.
|
void |
UsageTrackingFilterCachingPolicy.onUse(Filter filter) |
void |
FilterCachingPolicy.onUse(Filter filter)
Deprecated.
Callback that is called every time that a cached filter is used.
|
void |
FilterCachingPolicy.CacheOnLargeSegments.onUse(Filter filter) |
protected long |
LRUFilterCache.ramBytesUsed(Filter filter)
Deprecated.
Return the number of bytes used by the given filter.
|
abstract Query |
FilteredQuery.FilterStrategy.rewrite(Filter filter)
Rewrite the filter.
|
Query |
FilteredQuery.RandomAccessFilterStrategy.rewrite(Filter filter) |
void |
IndexSearcher.search(Query query,
Filter filter,
Collector results)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopDocs |
IndexSearcher.search(Query query,
Filter filter,
int n)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopFieldDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n,
Sort sort)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
TopFieldDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int numHits,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
boolean |
UsageTrackingFilterCachingPolicy.shouldCache(Filter filter,
LeafReaderContext context,
DocIdSet set) |
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) |
protected Query |
IndexSearcher.wrapFilter(Query query,
Filter filter)
Deprecated.
Use
boolean queries with
BooleanClause.Occur.FILTER clauses instead |
Constructor and Description |
---|
CachingWrapperFilter(Filter filter)
Deprecated.
Same as
CachingWrapperFilter.CachingWrapperFilter(Filter, FilterCachingPolicy)
but enforces the use of the
FilterCachingPolicy.CacheOnLargeSegments.DEFAULT policy. |
CachingWrapperFilter(Filter filter,
FilterCachingPolicy policy)
Deprecated.
Wraps another filter's result and caches it according to the provided policy.
|
FilteredQuery(Query query,
Filter filter)
Deprecated.
Constructs a new query which applies a filter to the results of the original query.
|
FilteredQuery(Query query,
Filter filter,
FilteredQuery.FilterStrategy strategy)
Deprecated.
Expert: Constructs a new query which applies a filter to the results of the original query.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.