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
- Querying "all docs" Per Steffensen
-