mirror of https://github.com/apache/lucene.git
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:
parent
1c58fd4608
commit
c76b72f448
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue