Re: group.ngroups behavior in response

2014-04-22 Thread rachun
Hi Amit, could you tell me is this problem fix in Solr 4.6.0? because i still having this problem or any suggestion? please help. thank you very much, Chun. -- View this message in context: http://lucene.472066.n3.nabble.com/group-ngroups-behavior-in-response-tp4033924p4132473.html Sent from

Re: group.ngroups behavior in response

2013-01-17 Thread Amit Nithian
A new response attribute would be better but it also complicates the patch in that it would require a new way to serialize DocSlices I think (especially when group.main=true)? I was looking to set group.main=true so that my existing clients don't have to change to parse the grouped resultset format

Re: group.ngroups behavior in response

2013-01-17 Thread Otis Gospodnetic
I'd think adding a new response attribute would be more flexible and powerful, thinking about clients, UIs, etc. Otis -- Solr & ElasticSearch Support http://sematext.com/ On Thu, Jan 17, 2013 at 10:15 AM, Tomás Fernández Löbbe < tomasflo...@gmail.com> wrote: > Bu Amit is right, when you use

Re: group.ngroups behavior in response

2013-01-17 Thread Tomás Fernández Löbbe
Bu Amit is right, when you use group.main, the number of groups is not displayed, even if you set grop.ngroups. I think in this case NumFound should display the number of groups instead of the number of docs matching. Other option would be to keep "numFound" as the number of docs matching and add

Re: group.ngroups behavior in response

2013-01-17 Thread denl0
There's a parameter to enable that. :D In solrJ solrQuery.setParam("group.ngroups", true); http://wiki.apache.org/solr/FieldCollapsing -- View this message in context: http://lucene.472066.n3.nabble.com/group-ngroups-behavior-in-response-tp4033924p4034187.html Sent from the Solr - User maili