FileDocCategorySizeDatePackage
QueryFilter.javaAPI DocApache Lucene 2.2.01576Sat Jun 16 22:20:34 BST 2007org.apache.lucene.search

QueryFilter

public class QueryFilter extends CachingWrapperFilter
Constrains search results to only match those which also match a provided query. Results are cached, so that searches after the first on the same index using this filter are much faster.
version
$Id: QueryFilter.java 528298 2007-04-13 00:59:28Z hossman $
deprecated
use a CachingWrapperFilter with QueryWrapperFilter

Fields Summary
Constructors Summary
public QueryFilter(Query query)
Constructs a filter which only matches documents matching query.

    super(new QueryWrapperFilter(query));
  
Methods Summary
public booleanequals(java.lang.Object o)

    return super.equals((QueryFilter)o);
  
public inthashCode()

    return super.hashCode() ^ 0x923F64B9;