I guess, there are two questions there: 1) Does SOLR allocate memory based on requested rows (not actual one)? 2) Is there a way to get all the records?
For the second question, would paging with deep-paging support (added in 4.8) solve the problem in the meantime? Or is use-case more specific than that? Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Tue, Jun 3, 2014 at 2:12 PM, Per Steffensen <[email protected]> wrote: > Hi > > AFAIK there is no way to ask for "all docs" matching a query. You have to > set rows-param to something specific (-1 or something does not work). 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. > > Can someone confirm that I did not overlook something? Shouldnt we introduce > such an option? E.g accept -1 as an indicator for "everything" and then > necessary memory as we go along (as it is needed)? E.g. something a-la what > I did with ExpandingIntArray in > https://issues.apache.org/jira/secure/attachment/12614887/SOLR-5444_ExpandingIntArray_DocSetCollector_4_4_0.patch > > Solr 4.4, BTW, but I dont think there are any changes in this area in latest > 4.8.x? > > Regards, Per Steffensen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
