grouping finds result name=doclist numFound=0

2014-11-06 Thread Giovanni Bricconi
Sorry for the basic question

q=*:*fq=-sku:2471834fq=FiltroDispo:1fq=has_image:1rows=100fl=descCat3,IDCat3,ranking2group=truegroup.field=IDCat3group.sort=ranking2+descgroup.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=matches297254/int
int name=ngroups49/int
arr name=groups
 lst
   int name=groupValue0/intresult name=doclist
numFound=0 start=0//lst
 ...
lstint name=groupValue12043/intresult name=doclist
numFound=2 start=0docint name=IDCat312043/intstr
name=descCat3SSD/strint name=ranking2498/int/doc/result/lst


AW: grouping finds result name=doclist numFound=0

2014-11-06 Thread Timo Schmidt
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.bricc...@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:2471834fq=FiltroDispo:1fq=has_image:1rows=100fl=descCat3,IDCat3,ranking2group=truegroup.field=IDCat3group.sort=ranking2+descgroup.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=matches297254/int
int name=ngroups49/int
arr name=groups
 lst
   int name=groupValue0/intresult name=doclist
numFound=0 start=0//lst
 ...
lstint name=groupValue12043/intresult name=doclist
numFound=2 start=0docint name=IDCat312043/intstr
name=descCat3SSD/strint name=ranking2498/int/doc/result/lst