diff --git a/src/java/org/apache/solr/search/BoostQParserPlugin.java b/src/java/org/apache/solr/search/BoostQParserPlugin.java index cc25270a476..818989f544b 100755 --- a/src/java/org/apache/solr/search/BoostQParserPlugin.java +++ b/src/java/org/apache/solr/search/BoostQParserPlugin.java @@ -56,7 +56,7 @@ public class BoostQParserPlugin extends QParserPlugin { if (bq instanceof FunctionQuery) { vs = ((FunctionQuery)bq).getValueSource(); } else { - vs = new QueryValueSource(q, 0.0f); + vs = new QueryValueSource(bq, 0.0f); } return new BoostedQuery(q, vs); }