lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: svn commit: r528298 - /lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java
Date Fri, 13 Apr 2007 02:14:45 GMT
Thanks Hoss!  I thought I committed that, but svn log shows I did not.  I must have left the
fix local on my other computer.  Too many computers, too few brain cells.

Otis


----- Original Message ----
From: "hossman@apache.org" <hossman@apache.org>
To: java-commits@lucene.apache.org
Sent: Thursday, April 12, 2007 8:59:29 PM
Subject: svn commit: r528298 - /lucene/java/trunk/src/java/org/apache/lucene/search/QueryFilter.java

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) {






---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message