Class FilteredQuery
A query that applies a filter to the results of another query.
Note: the bits are retrieved from the filter each time this query is used in a search - use a CachingWrapperFilter to avoid regenerating the bits every time.
Created: Apr 20, 2004 8:58:29 AM
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class FilteredQuery : Query
Constructors
Name | Description |
---|---|
FilteredQuery(Query, Filter) | Constructs a new query which applies a filter to the results of the original query. Filter.getDocIdSet() will be called every time this query is used in a search. |
Properties
Name | Description |
---|---|
Filter | |
Query |
Methods
Name | Description |
---|---|
CreateWeight(Searcher) | Returns a Weight that applies the filter to the enclosed query's Weight. This is accomplished by overriding the Scorer returned by the Weight. |
Equals(Object) | Returns true iff |
ExtractTerms(Collections.Generic.ISet<Term>) | |
GetHashCode() | Returns a hash code value for this object. |
Rewrite(IndexReader) | Rewrites the wrapped query. |
ToString(String) | Prints a user-readable version of this query. |