SOLR-8490: in SolrIndexSearcher.java use QueryCommand.getLen() instead of the (private) QueryCommand.len

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christine Poerschke 2016-01-06 14:47:28 +00:00
parent 1c58fd4608
commit c76b72f448
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable,SolrIn
final boolean terminateEarly = (cmd.getFlags() & TERMINATE_EARLY) == TERMINATE_EARLY;
if (terminateEarly) {
collector = new EarlyTerminatingCollector(collector, cmd.len);
collector = new EarlyTerminatingCollector(collector, cmd.getLen());
}
final long timeAllowed = cmd.getTimeAllowed();