Resolved bug LUCENE-862 reported by Antony Bowesman

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Harwood 2007-04-17 07:13:05 +00:00
parent 33694c7d86
commit 2333dd080b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class BoostingQuery extends Query {
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 {