mirror of https://github.com/apache/lucene.git
minor followup to LUCENE-857, fixing a small mistake in Otis's orriginal commit to ensure that the deprecated QueryFilter still cache's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@528298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
78a3a8a677
commit
866b626f67
|
@ -25,13 +25,13 @@ package org.apache.lucene.search;
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @deprecated use a CachingWrapperFilter with QueryWrapperFilter
|
* @deprecated use a CachingWrapperFilter with QueryWrapperFilter
|
||||||
*/
|
*/
|
||||||
public class QueryFilter extends QueryWrapperFilter {
|
public class QueryFilter extends CachingWrapperFilter {
|
||||||
|
|
||||||
/** Constructs a filter which only matches documents matching
|
/** Constructs a filter which only matches documents matching
|
||||||
* <code>query</code>.
|
* <code>query</code>.
|
||||||
*/
|
*/
|
||||||
public QueryFilter(Query query) {
|
public QueryFilter(Query query) {
|
||||||
super(query);
|
super(new QueryWrapperFilter(query));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
|
|
Loading…
Reference in New Issue