From c76b72f4486b8f9af15d3e19a2e7b45378132bdb Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Wed, 6 Jan 2016 14:47:28 +0000 Subject: [PATCH] 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 --- .../core/src/java/org/apache/solr/search/SolrIndexSearcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java index b2414ab2cbd..17b07baedb8 100644 --- a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java +++ b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java @@ -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();