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

Yonik Seeley commented on SOLR-267:
-----------------------------------

I think in the future we could handle this in a more generic manner, but for 
now I'd support a more generic version implemented in SolrCore.execute()
It could check for a DocList in element #1 and if so, use that.
That would be faster than a separate logging statement, and the query (and all 
other parameters passed in) are already logged in execute().

I think we need a separate key=value section for results... and the number of 
results would appear as "hits=941"


> log handler + query + hits
> --------------------------
>
>                 Key: SOLR-267
>                 URL: https://issues.apache.org/jira/browse/SOLR-267
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Will Johnson
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: LogQueryHitCounts.patch
>
>
> adds a logger to log handler, query string and hit counts for each query

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to