You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mh...@apache.org on 2007/04/17 09:13:06 UTC
svn commit: r529512 -
/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java
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 {