org.apache.lucene.search

Class QueryFilter

public class QueryFilter extends CachingWrapperFilter

Deprecated: use a CachingWrapperFilter with QueryWrapperFilter

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 $

Constructor Summary
QueryFilter(Query query)
Constructs a filter which only matches documents matching query.
Method Summary
booleanequals(Object o)
inthashCode()

Constructor Detail

QueryFilter

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

Method Detail

equals

public boolean equals(Object o)

hashCode

public int hashCode()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.