I need to write some tests which I hope to do tonight and then I think
it'll get into 4.2


On Tue, Feb 26, 2013 at 6:24 AM, Nicholas Ding <nicholas...@gmail.com>wrote:

> Thanks Amit, that's cool! So it will also be fixed on Solr 4.2, right?
>
> On Mon, Feb 25, 2013 at 6:04 PM, Amit Nithian <anith...@gmail.com> wrote:
>
> > Yeah I had a similar problem. I filed and submitted this patch:
> > https://issues.apache.org/jira/browse/SOLR-4310
> >
> > Let me know if this is what you are looking for!
> > Amit
> >
> >
> > On Mon, Feb 25, 2013 at 1:50 PM, Teun Duynstee <t...@duynstee.com>
> wrote:
> >
> > > Ah, I see. The docs say "Although this result format does not have as
> > much
> > > information, it may be easier for existing solr clients to parse". I
> > guess
> > > the ngroups value could be added to this format, but apparently it
> > isn't. I
> > > do agree with you that to be usefull (as in possible to read for a
> client
> > > that doesn't know of the grouped format), the number should be that of
> > the
> > > groups, not of the documents.
> > >
> > > A quick glance in the code learns that it is indeed not calculated in
> > this
> > > case. But not completely trivial to fix. Could you use format=simple
> > > instead? That will work with ngroups.
> > >
> > > Teun
> > >
> > >
> > > 2013/2/25 Nicholas Ding <nicholas...@gmail.com>
> > >
> > > > Thanks Teun and Carlos, I set group.ngroups=true, but I don't have
> this
> > > > "ngroup" number when I was using group.main = true.
> > > >
> > > > On Mon, Feb 25, 2013 at 12:02 PM, Carlos Maroto <
> > > > cmar...@searchtechnologies.com> wrote:
> > > >
> > > > > Use group.ngroups, check it in the Solr wiki for FieldCollapsing
> > > > >
> > > > > Carlos Maroto
> > > > > Search Architect at Search Technologies (
> www.searchtechnologies.com)
> > > > >
> > > > >
> > > > >
> > > > > Nicholas Ding <nicholas...@gmail.com> wrote:
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > I grouped the result, and set group.main=true. I was expecting the
> > > > numFound
> > > > > equals to the number of groups, but actually it was not.
> > > > >
> > > > > How do I get the number of groups?
> > > > >
> > > > > Thanks
> > > > > Nicholas
> > > > >
> > > >
> > >
> >
>

Reply via email to