As far as I know there is no practical upper limit to the number of
documents, only a limit to the amount of memory available in your server
and client. (+ network timeouts, etc)

Deep paging slows down as the pages get bigger so use cursors in that case,
otherwise just test until you get OOM.

On Wed, Apr 27, 2022 at 4:35 PM Neha Gupta <neha.gu...@uni-jena.de> wrote:

> Hi Andy,
>
> I have different cores with different number of documents.
>
> 1) Core 1: - 227625 docs and each document having approx 10 String fields.
>
> 2) Core 2: - Approx 3.5 million documents and each having 3 string fields.
>
> So  my question is if i request in one request lets say approximate 10K
> documents using SOLRJ will that be OK. By safe here i mean approx.
> maximum number of documents that i can request without causing any
> problem in receiving a response from SOLR.
>
> Is that enough to answer the question?
>
> On 27/04/2022 22:26, Andy Lester wrote:
> >
> >> On Apr 27, 2022, at 3:23 PM, Neha Gupta<neha.gu...@uni-jena.de>  wrote:
> >>
> >> Just for information I will be firing queries from Java application to
> SOLR using SOLRJ and would like to know how much maximum documents (i.e
> maximum number of rows that i can request in the query) can be returned
> safely from SOLR.
> > It’s impossible to answer that. First, how do you mean “safe”? How big
> are your documents?
> >
> > Let’s turn it around. Do you have a number in mind where you’re
> wondering if Solr can handle it? Like you’re thinking “Can Solr handle 10
> million documents averaging 10K each”?  That’s much easier to address.
> >
> > Andy

Reply via email to