mirror of https://github.com/apache/lucene.git
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:
parent
33694c7d86
commit
2333dd080b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue