List Info

Thread: Updated: (SOLR-267) log handler + query + hits




Updated: (SOLR-267) log handler + query + hits
country flaguser name
United States
2007-06-22 09:42:27
     [ 
https://issues.apache.org/jira/browse/SOLR-267?page=com.atla
ssian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Johnson updated SOLR-267:
------------------------------

    Attachment: LogQueryHitCounts.patch

new patch to promote responseHeader from a defacto standard
to an api standard in SolrQueryResponse.  this enables the
SolrCore.execute() method to simply print out it's contents
containing any info people want logged.  the format now is:

 Jun 22, 2007 10:37:25 AM org.apache.solr.core.SolrCore
execute
INFO: webapp=/solr path=/select/ hits=0 status=0 QTime=0
params={indent=on,start=0,q=solr,version=2.2,rows=10}

which is fully labeled but i think mkaes things much easier
to read/parse as you can look for labels instead of
positions which may or may not change.

> 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,
LogQueryHitCounts.patch, LogQueryHitCounts.patch,
LogQueryHitCounts.patch, 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.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )