lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hasan Ince (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2349) Wrong matches count with groupped results
Date Fri, 18 Feb 2011 07:15:12 GMT

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

Hasan Ince commented on SOLR-2349:
----------------------------------

i send the request: facet=true&facet.field=cat&group=true&group.field=sortid

i expect to get 3 results (because the number of the groups is 3) from that query but i get
5 results. And same things for facet :(

more details:

  <lst name="grouped">
  <lst name="sortid">
  <int name="matches">5</int> 
  <arr name="groups">

 ......... 
 <str name="groupValue">1001_46</str> 
  <result name="doclist" numFound="1" start="0">

  <str name="groupValue">1001_3</str> 
  <result name="doclist" numFound="1" start="0">

  <str name="groupValue">1001_12</str> 
  <result name="doclist" numFound="3" start="0">


  <lst name="facet_counts">
  <lst name="facet_queries" /> 
  <lst name="facet_fields">
  <lst name="cat">
  <int name="1">5</int> 
  </lst>
  </lst>
  <lst name="facet_dates" /> 
  <lst name="facet_ranges" /> 
  </lst>



> 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