Re: pagination and groups

2011-07-02 Thread Yonik Seeley
On Sat, Jul 2, 2011 at 7:34 PM, Benson Margulies wrote: > Hey, I don't suppose you could easily tell me the rev in which ngroups > arrived? 1137037 I believe. Grouping originated in Solr, was refactored to a shared lucene/solr module, including the ability to get the total number of groups, and

Re: pagination and groups

2011-07-02 Thread Benson Margulies
Hey, I don't suppose you could easily tell me the rev in which ngroups arrived? Also, how does ngroups compare to the 'matches' value inside each group? On Sat, Jul 2, 2011 at 3:06 PM, Yonik Seeley wrote: > 2011/7/1 Tomás Fernández Löbbe : >> I'm not sure I understand what you want to do. To p

Re: pagination and groups

2011-07-02 Thread Yonik Seeley
2011/7/1 Tomás Fernández Löbbe : > 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 h

Re: pagination and groups

2011-07-01 Thread Benson Margulies
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 : > are you using group.main=true? > I didn't see the code fo

Re: pagination and groups

2011-07-01 Thread Tomás Fernández Löbbe
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'l

Re: pagination and groups

2011-07-01 Thread Benson Margulies
What takes the place of response.response.numFound? 2011/7/1 Tomás Fernández Löbbe : > 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 t

Re: pagination and groups

2011-07-01 Thread Tomás Fernández Löbbe
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 f