You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn van Groningen (JIRA)" <ji...@apache.org> on 2011/06/11 18:02:58 UTC

[jira] [Issue Comment Edited] (SOLR-2337) Solr needs hits= added to the log when using grouping

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

Martijn van Groningen edited comment on SOLR-2337 at 6/11/11 4:01 PM:
----------------------------------------------------------------------

bq. I assume the matches would work for the group.totalCount=GROUPED or UNGROUPED.
This will work in both of these cases in the latest patch in SOLR-2564. It will always log the number of matches, not the number of groups.

      was (Author: martijn.v.groningen):
    bq. I assume the matches would work for the group.totalCount=GROUPED or UNGROUPED.
This will work in both of these cases. It will always log the number of matches, not the number of groups.
  
> Solr needs hits= added to the log when using grouping 
> ------------------------------------------------------
>
>                 Key: SOLR-2337
>                 URL: https://issues.apache.org/jira/browse/SOLR-2337
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0
>            Reporter: Bill Bell
>             Fix For: 4.0
>
>         Attachments: SOLR.2337.patch
>
>
> We monitor the Solr logs to try to review queries that have hits=0. This enables us to improve relevancy since they are easy to find and review.
> When using group=true, hits= does not show up:
> {code}
> 2011-01-27 01:10:16,117 INFO  core.SolrCore  - [collection1] webapp= path=/select params={group=true&group.field=gender&group.field=id&q=*:*} status=0 QTime=15
> {code}
> The code in QueryComponent.java needs to add the matches() after calling grouping.execute() and add up the total.
> It does return hits= in the log for mainResult, but not for standard grouping.
> This should be easy to add since matches are defined...

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