lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mharw...@apache.org
Subject svn commit: r529512 - /lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
Date Tue, 17 Apr 2007 07:13:06 GMT
Author: mharwood
Date: Tue Apr 17 00:13:05 2007
New Revision: 529512

URL: http://svn.apache.org/viewvc?view=rev&rev=529512
Log:
Resolved bug LUCENE-862 reported by Antony Bowesman

Modified:
    lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java

Modified: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java?view=diff&rev=529512&r1=529511&r2=529512
==============================================================================
--- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
(original)
+++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
Tue Apr 17 00:13:05 2007
@@ -32,7 +32,7 @@
       this.context = (Query)context.clone();        // clone before boost
       this.boost = boost;
 
-      context.setBoost(0.0f);                      // ignore context-only matches
+      this.context.setBoost(0.0f);                      // ignore context-only matches
     }
 
     public Query rewrite(IndexReader reader) throws IOException {



Mime
View raw message