lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanguy Moal (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2349) Wrong matches count with groupped results
Date Thu, 17 Feb 2011 16:22:24 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message