|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Filter | |
---|---|
org.apache.lucene.search | Code to search indices. |
Uses of Filter in org.apache.lucene.search |
---|
Subclasses of Filter in org.apache.lucene.search | |
---|---|
class |
CachingWrapperFilter
Wraps another Filter 's result and caches it. |
class |
DocTermOrdsRangeFilter
A range filter built on top of a cached multi-valued term field (in FieldCache ). |
class |
FieldCacheRangeFilter<T>
A range filter built on top of a cached single term field (in FieldCache ). |
class |
FieldCacheTermsFilter
A Filter that only accepts documents whose single
term value in the specified field is contained in the
provided set of allowed terms. |
class |
FieldValueFilter
A Filter that accepts all documents that have one or more values in a
given field. |
class |
MultiTermQueryWrapperFilter<Q extends MultiTermQuery>
A wrapper for MultiTermQuery , that exposes its
functionality as a Filter . |
class |
NumericRangeFilter<T extends Number>
A Filter that only accepts numeric values within
a specified range. |
class |
PrefixFilter
A Filter that restricts search results to values that have a matching prefix in a given field. |
class |
QueryWrapperFilter
Constrains search results to only match those which also match a provided query. |
class |
TermRangeFilter
A Filter that restricts search results to a range of term values in a given field. |
Fields in org.apache.lucene.search declared as Filter | |
---|---|
protected Filter |
ConstantScoreQuery.filter
|
Methods in org.apache.lucene.search that return Filter | |
---|---|
Filter |
FilteredQuery.getFilter()
Returns this FilteredQuery's filter |
Filter |
ConstantScoreQuery.getFilter()
Returns the encapsulated filter, returns null if a query is wrapped. |
Filter |
CachingWrapperFilter.getFilter()
Gets the contained filter. |
Methods in org.apache.lucene.search with parameters of type Filter | |
---|---|
void |
IndexSearcher.search(Query query,
Filter filter,
Collector results)
Lower-level search API. |
TopDocs |
IndexSearcher.search(Query query,
Filter filter,
int n)
Finds the top n
hits for query , applying filter if non-null. |
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort)
Search implementation with arbitrary sorting. |
TopFieldDocs |
IndexSearcher.search(Query query,
Filter filter,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Search implementation with arbitrary sorting, plus control over whether hit scores and max score should be computed. |
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n)
Finds the top n
hits for query , applying filter if non-null,
where all results are after a previous result (after ). |
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n,
Sort sort)
Finds the top n
hits for query , applying filter if non-null,
where all results are after a previous result (after ). |
TopDocs |
IndexSearcher.searchAfter(ScoreDoc after,
Query query,
Filter filter,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore)
Finds the top n
hits for query where all results are after a previous
result (after ), allowing control over
whether hit scores and max score should be computed. |
protected Query |
IndexSearcher.wrapFilter(Query query,
Filter filter)
|
Constructors in org.apache.lucene.search with parameters of type Filter | |
---|---|
CachingWrapperFilter(Filter filter)
Wraps another filter's result and caches it. |
|
ConstantScoreQuery(Filter filter)
Wraps a Filter as a Query. |
|
FilteredQuery(Query query,
Filter filter)
Constructs a new query which applies a filter to the results of the original query. |
|
FilteredQuery(Query query,
Filter filter,
FilteredQuery.FilterStrategy strategy)
Expert: Constructs a new query which applies a filter to the results of the original query. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |