Re: Grouping results with group.limit return wrong numFound ?

2014-01-03 Thread tasmaniski
Hi and thanks all, There is no easy solution implemented in Solr for my problem. I will try "namedistinct" you said, might improve workaround solution. Perhaps, the main problem are the names :) because *group.limit* do same as basic rows

Re: Grouping results with group.limit return wrong numFound ?

2014-01-01 Thread Ahmet Arslan
Hi Liu, Aha now I see ... old format does not display that info. For faceting solution https://issues.apache.org/jira/browse/SOLR-2242 could be relevant. By the way how are these things in CollapsingQueryParser? https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-Coll

Re: Grouping results with group.limit return wrong numFound ?

2014-01-01 Thread Liu Bo
hi @Ahmet I've thought about using group.ngroups=true , but when you use group.main=true, there's no "ngroups" field in the response. and according to http://wiki.apache.org/solr/FieldCollapsing, the result might not be correct in solrcloud. I don't like using facet for this but seems have to...

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Ahmet Arslan
Hi Tasmaniski, I don't follow. How come Liu's faceting workaround and n.groups=true produce different results? On Tuesday, December 31, 2013 6:08 PM, tasmaniski wrote: @kamaci Ofcourse. That is the problem. "group.limit is: the number of results (documents) to return for each group." Num

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Chris Hostetter
ski : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Grouping results with group.limit return wrong numFound ? : : @kamaci : Ofcourse. That is the problem. : : "group.limit is: the number of results (documents) to return for each : group." : NumFound

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread tasmaniski
@kamaci Ofcourse. That is the problem. "group.limit is: the number of results (documents) to return for each group." NumFound is number of total found, but *not* sum number of *return for each group.* @Liu Bo seems to be the is only workaround for problem but it's to much expensive to go throug

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Ahmet Arslan
Hi Liu, Did you consider using group.ngroups=true ? It should give the same number as your faceting solution.  Ahmet On Tuesday, December 31, 2013 10:22 AM, Liu Bo wrote: Hi I've met the same problem, and I've googled it around but not found direct solution. But there's a work around, do a

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Liu Bo
Hi I've met the same problem, and I've googled it around but not found direct solution. But there's a work around, do a facet on your group field, with parameters like true your_field -1 1 and then count how many facted pairs in the response. This should be the same with the number

Re: Grouping results with group.limit return wrong numFound ?

2013-12-30 Thread Furkan KAMACI
Hi; group.limit is: the number of results (documents) to return for each group. Defaults to 1. Did you check the page here: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=32604232 Thanks; Furkan KAMACI 25 Aralık 2013 Çarşamba tarihinde tasmaniski adlı kullanıcı şöyle yazdı: >

Grouping results with group.limit return wrong numFound ?

2013-12-25 Thread tasmaniski
Hi All, When I perform a search with grouping result in a groups and do limit results in one group I got that *numFound* is the same as I didn't use limit.looks like SOLR first perform search and calculate numFound and that group and limit the results.I do not know if this is a bug or a feature :)B