Hello Vinayak. Please find the second caveat https://solr.apache.org/guide/solr/latest/query-guide/result-grouping.html#distributed-result-grouping-caveats Two collections are equivalent to two or more shards. Sic. Grouping is not a full-fledged map-reduce engine.
On Fri, Mar 3, 2023 at 6:46 AM Vinayak Hegde <vinayakph...@gmail.com> wrote: > Hello everyone, > I hope this email finds you well. I am reaching out to discuss a strange > situation we are facing with result grouping. > We currently have two collections, CollectionA and CollectionB, both of > which contain an identical document, document1. We have created a new alias > collection that includes both CollectionA and CollectionB. > However, when attempting to perform result grouping on this new alias > collection, we are encountering an issue where two instances of document1 > appear in the output. > > http://10.144.10.36:8983/solr/aliasCollection/select?q=id:document1&rows=40&group=true&group.field=fieldA&group.limit=20 > I have attempted to locate official documentation regarding this issue, but > have been unsuccessful. The closest resource I found was this link: > > https://markmail.org/message/2ykh7wyexbnquc6s?q=list:org.apache.lucene.solr-user > . > Please let me know if you have any insights or suggestions on how to > resolve this issue. > Thank you for your time and attention. > > Best regards, > Vinayak Hegde > -- Sincerely yours Mikhail Khludnev https://t.me/MUST_SEARCH A caveat: Cyrillic!