On Tue, Jun 3, 2014 at 11:12 AM, Per Steffensen <[email protected]> wrote:

> It is not desirable to set rows-param to e.g. MAX_VALUE, because I
> believe Solr will allocate memory dependent on the value of rows-param.
>
not really. it reasonably limits it by maxdocs()
https://github.com/apache/lucene-solr/blob/trunk/lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java#L475

Solr and Lucene does not really suits for such "all docs", which usually
don't need scores and ranking, but Lucene always intended to allocate
results heap for ranking. Deep paging, might help, but it's not the most
achievable performance.
see https://issues.apache.org/jira/browse/SOLR-5244 for some discussion,
and prototype

-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<[email protected]>

Reply via email to