Solr-2242 works too. Use the group as the facet to get the correct number of 
matches. We use it in production.

Bill Bell
Sent from mobile


On Feb 17, 2011, at 9:22 AM, "Tanguy Moal (JIRA)" <[email protected]> wrote:

> 
>    [ 
> https://issues.apache.org/jira/browse/SOLR-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995882#comment-12995882
>  ] 
> 
> Tanguy Moal commented on SOLR-2349:
> -----------------------------------
> 
> As a temporary workaround, you can still ask for a few more rows than you 
> actually display. If the response contains the requested number of rows then 
> you'll have a next page. Otherwise, it's the last one. Quick and dirty, but 
> that works. You simply loose the ability to display "showing page #a of n"
> 
>> Wrong matches count with groupped results
>> -----------------------------------------
>> 
>>                Key: SOLR-2349
>>                URL: https://issues.apache.org/jira/browse/SOLR-2349
>>            Project: Solr
>>         Issue Type: Bug
>>   Affects Versions: 4.0
>>        Environment: windows xp, jetty
>>           Reporter: Anton
>>           Priority: Minor
>> 
>> With query q=*:* i get "numFound = 1752"
>> When i group by field (q=*:*&group=true&group.field=company_id) i also get 
>> "matches = 1752", but number of groupped results less than 1752 and 
>> application wouldn't be able to show valid pagination.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to