Hi, Daxesh. Absolutely 20, since it's a result transformer https://solr.apache.org/guide/solr/latest/query-guide/document-transformers.html .
On Thu, Sep 22, 2022 at 12:25 PM Daxesh Parmar <daxeshparmar0...@gmail.com> wrote: > Hii Mikhail. > Had one doubt regarding the internal workings of Sub-queries. > Suppose we have total records 1000. And we are fetching 20 records in > single query. so the Sub-queries will be fired for all 1000 docs or for the > only 20 that we have fetched. > > > Thanks in Advance > > > On Wed, Sep 21, 2022, 2:15 PM Mikhail Khludnev <m...@apache.org> wrote: > > > Hi, Daxesh. > > Subqueries handle only a single result page, at contrast, collapse should > > count the total number of groups (I suppose). > > I can say that subquery implementation is far from being performant. > > > > On Wed, Sep 21, 2022 at 7:41 AM Daxesh Parmar < > daxeshparmar0...@gmail.com> > > wrote: > > > > > Hii, > > > > > > Can anyone pls provide documentation for internal working of solr > > > Subqueries. and also if we compare the same with collapse and expand > > > queries, which one is efficient in terms of response time and > > performance. > > > > > > > > > -- > > Sincerely yours > > Mikhail Khludnev > > > -- Sincerely yours Mikhail Khludnev