lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Grouping results with group.limit return wrong numFound ?
Date Thu, 02 Jan 2014 06:44:50 GMT


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-CollapsingQueryParser?



On Thursday, January 2, 2014 6:07 AM, Liu Bo <diablo47@gmail.com> wrote:

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...


On 1 January 2014 00:35, Ahmet Arslan <iorixxx@yahoo.com> wrote:

> 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 <tasmaniski@gmail.com>
> wrote:
> @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 through all the groups and calculate total
> number of found/returned (I use PHP for client:) ).
>
> @iorixxx
> Yes, I consider that (group.ngroups=true)
> but in some group I have number of found resultĀ  lesser than limit.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Grouping-results-with-group-limit-return-wrong-numFound-tp4108174p4108906.html
>
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
All the best


Liu Bo

Mime
View raw message