[ 
https://issues.apache.org/jira/browse/SOLR-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998736#comment-12998736
 ] 

Anton commented on SOLR-2349:
-----------------------------

Hasan, what results returned by facet? I think if you group and facet on sortid 
field you should get something like this:

items_count: 5

groups:
<arr name="groups">
    <lst>
        <int name="groupValue">1</int>
            <result name="doclist" numFound="3" start="0">
            ...
     </lst>
     <lst>
        <int name="groupValue">2</int>
            <result name="doclist" numFound="1" start="0">
            ...
     </lst>
     <lst>
        <int name="groupValue">3</int>
            <result name="doclist" numFound="1" start="0">
            ...
     </lst>
</arr>

facet:
<int name="1">3</int>
<int name="2">1</int>
<int name="3">1</int>

Or what do you get? Show us some information, please

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

Reply via email to