lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Bell (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2337) Solr needs hits= added to the log when using grouping
Date Thu, 27 Jan 2011 09:01:43 GMT
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


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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message