Re: numFound is not correct while using Result Grouping

2014-04-22 Thread rachun
I'm still having the same problem which is can not get ngroups when set group.main=true. Is this problem fix? I'm usgin Solr 4.6.0 than you very much, Chun. -- View this message in context: http://lucene.472066.n3.nabble.com/numFound-is-not-correct-while-using-Resul

Re: numFound is not correct while using Result Grouping

2013-02-26 Thread Amit Nithian
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 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 wrote: > > > Yeah I had a si

Re: numFound is not correct while using Result Grouping

2013-02-26 Thread Nicholas Ding
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 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! > A

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Amit Nithian
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 wrote: > Ah, I see. The docs say "Although this result format does not have as mu

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Teun Duynstee
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

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Nicholas Ding
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

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Carlos Maroto
Use group.ngroups, check it in the Solr wiki for FieldCollapsing Carlos Maroto Search Architect at Search Technologies (www.searchtechnologies.com) Nicholas Ding wrote: Hello, I grouped the result, and set group.main=true. I was expecting the numFound equals to the number of groups, but act

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Teun Duynstee
You have to set group.ngroups=true (see http://wiki.apache.org/solr/FieldCollapsing). Be aware that including the number of groups is a surprisingly heavy operation, though. Teun 2013/2/25 Nicholas Ding > Hello, > > I grouped the result, and set group.main=true. I was expecting the numFound >