Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.lucene.search.Filter

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` | `CachingSpanFilter` Wraps another SpanFilter's result and caches it.
`class` | `CachingWrapperFilter` Wraps another filter's result and caches it.
`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` | `SpanFilter` Abstract base class providing a mechanism to restrict searches to a subset of an index and also maintains and returns position information.
`class` | `SpanQueryFilter` 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`
`Filter` | `FilterManager.FilterItem.filter`

Methods in org.apache.lucene.search that return Filter
`Filter` | `FilteredQuery.getFilter()`
`Filter` | `ConstantScoreQuery.getFilter()` Returns the encapsulated filter, returns `null` if a query is wrapped.
`Filter` | `FilterManager.getFilter(Filter filter)` Deprecated. Returns the cached version of the filter.

Methods in org.apache.lucene.search with parameters of type Filter
`Filter` | `FilterManager.getFilter(Filter filter)` Deprecated. Returns the cached version of the filter.
`void` | `Searcher.search(Query query, Filter filter, Collector results)` Deprecated. Lower-level search API.
`void` | `IndexSearcher.search(Query query, Filter filter, Collector results)` Lower-level search API.
`TopDocs` | `Searcher.search(Query query, Filter filter, int n)` Deprecated. Finds the top `n` hits for `query`, applying `filter` if non-null.
`TopDocs` | `IndexSearcher.search(Query query, Filter filter, int n)` Finds the top `n` hits for `query`, applying `filter` if non-null.
`TopFieldDocs` | `Searcher.search(Query query, Filter filter, int n, Sort sort)` Deprecated. Search implementation with arbitrary sorting.
`TopFieldDocs` | `IndexSearcher.search(Query query, Filter filter, int n, Sort sort)` Search implementation with arbitrary sorting.
`void` | `MultiSearcher.search(Weight weight, Filter filter, Collector collector)` Deprecated.
`void` | `Searchable.search(Weight weight, Filter filter, Collector collector)` Deprecated. Lower-level search API.
`abstract void` | `Searcher.search(Weight weight, Filter filter, Collector results)` Deprecated.
`void` | `IndexSearcher.search(Weight weight, Filter filter, Collector collector)` Lower-level search API.
`void` | `ParallelMultiSearcher.search(Weight weight, Filter filter, Collector collector)` Deprecated. Lower-level search API.
`TopDocs` | `MultiSearcher.search(Weight weight, Filter filter, int nDocs)` Deprecated.
`TopDocs` | `Searchable.search(Weight weight, Filter filter, int n)` Deprecated. Expert: Low-level search implementation.
`abstract TopDocs` | `Searcher.search(Weight weight, Filter filter, int n)` Deprecated.
`TopDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs)` Expert: Low-level search implementation.
`TopDocs` | `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs)` Deprecated. A search implementation which executes each `Searchable` in its own thread and waits for each search to complete and merge the results back together.
`TopFieldDocs` | `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` | `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated. Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` | `Searcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`TopFieldDocs` | `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Deprecated. A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together.
`protected TopFieldDocs` | `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort, boolean fillFields)` Just like `IndexSearcher.search(Weight, Filter, int, Sort)`, but you choose whether or not the fields in the returned `FieldDoc` instances should be set by specifying fillFields.
`protected TopDocs` | `IndexSearcher.search(Weight weight, Filter filter, ScoreDoc after, int nDocs)` Expert: Low-level search implementation.
`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`).

Constructors in org.apache.lucene.search with parameters of type Filter
`CachingWrapperFilter(Filter filter)` New deletes are ignored by default, which gives higher cache hit rate on reopened readers.
`CachingWrapperFilter(Filter filter, CachingWrapperFilter.DeletesMode deletesMode)` Expert: by default, the cached filter will be shared across reopened segments that only had changes to their deletions.
`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.
`FilterManager.FilterItem(Filter filter)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES