lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r528298 - /lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java
Date Fri, 13 Apr 2007 00:59:29 GMT
Author: hossman
Date: Thu Apr 12 17:59:28 2007
New Revision: 528298

URL: http://svn.apache.org/viewvc?view=rev&rev=528298
Log:
minor followup to LUCENE-857, fixing a small mistake in Otis's orriginal commit to ensure
that the deprecated QueryFilter still cache's

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java?view=diff&rev=528298&r1=528297&r2=528298
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java Thu Apr 12 17:59:28
2007
@@ -25,13 +25,13 @@
  * @version $Id$
  * @deprecated use a CachingWrapperFilter with QueryWrapperFilter
  */
-public class QueryFilter extends QueryWrapperFilter {
+public class QueryFilter extends CachingWrapperFilter {
 
   /** Constructs a filter which only matches documents matching
    * <code>query</code>.
    */
   public QueryFilter(Query query) {
-    super(query);
+    super(new QueryWrapperFilter(query));
   }
 
   public boolean equals(Object o) {



Mime
View raw message