Caa52 commented on a change in pull request #529:
URL: https://github.com/apache/solr/pull/529#discussion_r794843972



##########
File path: solr/core/src/java/org/apache/solr/query/FilterQuery.java
##########
@@ -96,6 +95,6 @@ public Weight createWeight(IndexSearcher searcher, ScoreMode 
scoreMode, float bo
     DocSet docs = solrSearcher.getDocSet(q);
     // reqInfo.addCloseHook(docs);  // needed for off-heap refcounting
 
-    return new BoostQuery(new SolrConstantScoreQuery(docs.makeQuery()), 
0).createWeight(searcher, scoreMode, 1f);
+    return new BoostQuery(new ConstantScoreQuery(docs.makeQuery()), 
0).createWeight(searcher, scoreMode, 1f);

Review comment:
       Thanks for pointing that out. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to