I'm using a version taken from the trunk some time ago. I'm not setting groups.main, I just started setting groups.ngroups, and nothing doing. So I guess I don't have a new enough grab from the trunk.
2011/7/1 Tomás Fernández Löbbe <tomasflo...@gmail.com>: > mmmm are you using group.main=true? > I didn't see the code for this and the documentation doesn't specify it, but > I tried "group.ngroups=true" and using "group.main=true", the "ngroups" > attribute is not brought back. If you are not using "group.main=true", then > by setting "group.ngroups=true" you'll see the value "ngroups" which means > the number of groups that matched the query. > > NOTE: All this is in trunk, I'm not sure if it is on 3.3 > > > On Fri, Jul 1, 2011 at 3:53 PM, Benson Margulies <bimargul...@gmail.com>wrote: > >> What takes the place of response.response.numFound? >> >> >> >> 2011/7/1 Tomás Fernández Löbbe <tomasflo...@gmail.com>: >> > I'm not sure I understand what you want to do. To paginate with groups >> you >> > can use "start" and "rows" as with ungrouped queries. with >> "group.ngroups" >> > (Something I found a couple of days ago) you can show the total number of >> > groups. "group.limit" tells Solr how many (max) documents you want to see >> > for each group. >> > >> > On Fri, Jul 1, 2011 at 2:56 PM, Benson Margulies <bimargul...@gmail.com >> >wrote: >> > >> >> I'm a bit puzzled while trying to adapt some pagination code in >> >> javascript to a grouped query. >> >> >> >> I'm using: >> >> >> >> 'group' : 'true', >> >> 'group.limit' : 5, // something to show ... >> >> 'group.field' : [ 'bt.nearDupCluster', 'bt.nearStoryCluster' ] >> >> >> >> and displaying each field's worth in a tab. how do I work 'start', etc? >> >> >> > >> >