Posted by Timo Schmidt <ti...@aoe.com>.
Hi Giovanni,
afaik grouping is not completly working with solr cloud. You maybe could check:
https://issues.apache.org/jira/browse/SOLR-5046
In addition, documents that should be grouped, need to be in the same shard (You can use &router.field=IDCat3 to place all of your documents with the same IDCat3 in the same shard).
Maybe someboy else can give some more insight's i am also interested into the topic.
Cheers
Timo
________________________________________
Von: Giovanni Bricconi [giovanni.bricconi@banzai.it]
Gesendet: Donnerstag, 6. November 2014 11:43
An: solr-user
Betreff: grouping finds <result name="doclist" numFound="0"
Sorry for the basic question
q=*:*&fq=-sku:2471834&fq=FiltroDispo:1&fq=has_image:1&rows=100&fl=descCat3,IDCat3,ranking2&group=true&group.field=IDCat3&group.sort=ranking2+desc&group.ngroups=true
returns some groups with no results. I'm using solr 4.8.0, the collection
has 3 shards
Am I missing some parameters?
<lst name="grouped">
<lst name="IDCat3">
<int name="matches">297254</int>
<int name="ngroups">49</int>
<arr name="groups">
<lst>
<int name="groupValue">0</int><result name="doclist"
numFound="0" start="0"/></lst>
...
<lst><int name="groupValue">12043</int><result name="doclist"
numFound="2" start="0"><doc><int name="IDCat3">12043</int><str
name="descCat3">SSD</str><int name="ranking2">498</int></doc></result></lst>