Hi Markus, thanks for your explanation. What if I submit a query q=*:*&rows=0 and there are 200M of documents in the solr core? Will I allocate an array of ScoreDoc objects so big?
On Wed, May 3, 2023 at 5:32 PM Markus Jelsma <markus.jel...@openindex.io> wrote: > Hello Vincenzo, > > Yes. Last time i checked, an array of ScoreDoc objects is created for each > query with the size of the numFound for the local core/replica. This should > clearly visible in VisualVM. This happens in SolrIndexSearcher. > > Regards, > Markus > > Op wo 3 mei 2023 om 17:20 schreef Vincenzo D'Amore <v.dam...@gmail.com>: > > > Hi all, > > > > Just asking if there could be some correlation from the amount of memory > > allocated by a Solr query and the number of *hits* selected in solr logs. > > I haven't found anything in the Solr documentation. > > > > Do you know if there is some advice for the hits value? > > > > Thanks, > > Vincenzo > > > > -- > > Vincenzo D'Amore > > > -- Vincenzo D'Amore