## 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` `PrefixFilter`
`class` `QueryFilter` Deprecated. use a CachingWrapperFilter with QueryWrapperFilter
`class` `QueryWrapperFilter` Constrains search results to only match those which also match a provided query.
`class` `RangeFilter` A Filter that restricts search results to a range of values in a given field.
`class` `RemoteCachingWrapperFilter` Provides caching of `Filter`s themselves on the remote end of an RMI connection.
`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.

Fields in org.apache.lucene.search declared as Filter
`Filter` `FilterManager.FilterItem.filter`
`protected Filter` `CachingWrapperFilter.filter`
`protected Filter` `ConstantScoreQuery.filter`
`protected Filter` `RemoteCachingWrapperFilter.filter`

Methods in org.apache.lucene.search that return Filter
`Filter` `FilteredQuery.getFilter()`
`Filter` `ConstantScoreQuery.getFilter()` Returns the encapsulated filter
`Filter` `FilterManager.getFilter(Filter filter)` Returns the cached version of the filter.

Methods in org.apache.lucene.search with parameters of type Filter
`Filter` `FilterManager.getFilter(Filter filter)` Returns the cached version of the filter.
`Hits` `Searcher.search(Query query, Filter filter)` Returns the documents matching `query` and `filter`.
`void` `Searcher.search(Query query, Filter filter, HitCollector results)` Lower-level search API.
`TopDocs` `Searcher.search(Query query, Filter filter, int n)` Expert: Low-level search implementation.
`TopFieldDocs` `Searcher.search(Query query, Filter filter, int n, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`Hits` `Searcher.search(Query query, Filter filter, Sort sort)` Returns documents matching `query` and `filter`, sorted by `sort`.
`void` `RemoteSearchable.search(Weight weight, Filter filter, HitCollector results)`
`void` `IndexSearcher.search(Weight weight, Filter filter, HitCollector results)`
`void` `Searchable.search(Weight weight, Filter filter, HitCollector results)` Lower-level search API.
`abstract void` `Searcher.search(Weight weight, Filter filter, HitCollector results)`
`void` `ParallelMultiSearcher.search(Weight weight, Filter filter, HitCollector results)` Lower-level search API.
`void` `MultiSearcher.search(Weight weight, Filter filter, HitCollector results)`
`TopDocs` `RemoteSearchable.search(Weight weight, Filter filter, int n)`
`TopDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs)`
`TopDocs` `Searchable.search(Weight weight, Filter filter, int n)` Expert: Low-level search implementation.
`abstract TopDocs` `Searcher.search(Weight weight, Filter filter, int n)`
`TopDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs)` A search implementation which spans a new thread for each Searchable, waits for each search to complete and merge the results back together.
`TopDocs` `MultiSearcher.search(Weight weight, Filter filter, int nDocs)`
`TopFieldDocs` `RemoteSearchable.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)`
`TopFieldDocs` `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` `Searcher.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` 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.
`TopFieldDocs` `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)`

Constructors in org.apache.lucene.search with parameters of type Filter
`CachingWrapperFilter(Filter filter)`
`ConstantScoreQuery(Filter filter)`
`FilteredQuery(Query query, Filter filter)` Constructs a new query which applies a filter to the results of the original query.
`FilterManager.FilterItem(Filter filter)`
`RemoteCachingWrapperFilter(Filter filter)`

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.