mocobeta commented on a change in pull request #2023:
URL: https://github.com/apache/lucene-solr/pull/2023#discussion_r511373874



##########
File path: lucene/core/src/java/org/apache/lucene/search/TopDocsCollector.java
##########
@@ -35,7 +35,7 @@
 
   /** This is used in case topDocs() is called with illegal parameters, or 
there
    *  simply aren't (enough) results. */
-  protected static final TopDocs EMPTY_TOPDOCS = new TopDocs(new TotalHits(0, 
TotalHits.Relation.EQUAL_TO), new ScoreDoc[0]);
+  public static final TopDocs EMPTY_TOPDOCS = new TopDocs(new TotalHits(0, 
TotalHits.Relation.EQUAL_TO), new ScoreDoc[0]);

Review comment:
       This is used in o.a.l.sandbox.search.LargeNumHitsTopDocsCollector.




----------------------------------------------------------------
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.

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



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

Reply via email to