You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Giovanni Bricconi <gi...@banzai.it> on 2014/11/10 12:41:05 UTC
is group.query supported in solrcloud (4.8) ?
hello
I have a collection 0_2014_10_11 made of three shards
When I try a group.query, even specifying a single shard, i get this
error "shard
0 did not set sort field values (FieldDoc.fields is null); you must pass
fillFields=true to IndexSearcher.search on each shard"
This is the request, ask the collection to find groups on IDCat3=922
http://src-dev-1:8080/solr/0_2014_10_11/select?q=*:*&group=true&group.query=IDCat3%3A922&shards=src-dev-1:8080/solr/0_2014_10_11_shard1_replica2
According to this page [
https://cwiki.apache.org/confluence/display/solr/Result+Grouping ] the
group.query is supported. Am I missing some key parameter?
Should the shards parameter be really mandatory? It seems that with
group.field it is not required.
Thanks
Giovanni
Aw: is group.query supported in solrcloud (4.8) ?
Posted by Timo Schmidt <ti...@gmx.net>.
Hi Giovanni,
i think there is a bug in solr (cloud only)
https://issues.apache.org/jira/browse/SOLR-5046
i've prepared a patch, that needs some review and improvements (my solr core knowledge is limited here :))
Maybe you can try the patch and vote for the issue in jira.
What i know by now:
when you can use group.field=dd instead of group.query it works. And also it seems that this is an issue when you have one shard not matching your docst
Cheers
Timo
Gesendet: Montag, 10. November 2014 um 12:41 Uhr
Von: "Giovanni Bricconi" <gi...@banzai.it>
An: solr-user <so...@lucene.apache.org>
Betreff: is group.query supported in solrcloud (4.8) ?
hello
I have a collection 0_2014_10_11 made of three shards
When I try a group.query, even specifying a single shard, i get this
error "shard
0 did not set sort field values (FieldDoc.fields is null); you must pass
fillFields=true to IndexSearcher.search on each shard"
This is the request, ask the collection to find groups on IDCat3=922
http://src-dev-1:8080/solr/0_2014_10_11/select?q=*:*&group=true&group.query=IDCat3%3A922&shards=src-dev-1:8080/solr/0_2014_10_11_shard1_replica2
According to this page [
https://cwiki.apache.org/confluence/display/solr/Result+Grouping ] the
group.query is supported. Am I missing some key parameter?
Should the shards parameter be really mandatory? It seems that with
group.field it is not required.
Thanks
Giovanni
AW: is group.query supported in solrcloud (4.8) ?
Posted by Timo Schmidt <ti...@aoe.com>.
Hi Giovanni,
i think there is a bug in solr (cloud only)
https://issues.apache.org/jira/browse/SOLR-5046
i've prepared a patch, that needs some review and improvements (my solr core knowledge is limited here :))
Maybe you can try the patch and vote for the issue in jira.
What i know by now:
when you can use group.field=dd instead of group.query it works. And also it seems that this is an issue when you have one shard not matching your docst
Cheers
Timo
________________________________________
Von: Giovanni Bricconi [giovanni.bricconi@banzai.it]
Gesendet: Montag, 10. November 2014 12:41
An: solr-user
Betreff: is group.query supported in solrcloud (4.8) ?
hello
I have a collection 0_2014_10_11 made of three shards
When I try a group.query, even specifying a single shard, i get this
error "shard
0 did not set sort field values (FieldDoc.fields is null); you must pass
fillFields=true to IndexSearcher.search on each shard"
This is the request, ask the collection to find groups on IDCat3=922
http://src-dev-1:8080/solr/0_2014_10_11/select?q=*:*&group=true&group.query=IDCat3%3A922&shards=src-dev-1:8080/solr/0_2014_10_11_shard1_replica2
According to this page [
https://cwiki.apache.org/confluence/display/solr/Result+Grouping ] the
group.query is supported. Am I missing some key parameter?
Should the shards parameter be really mandatory? It seems that with
group.field it is not required.
Thanks
Giovanni