lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1665) Add &debugTimings param so that timings for components can be retrieved without having to do explains(), as in &debugQuery
Date Thu, 26 Aug 2010 20:03:53 GMT

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

Yonik Seeley commented on SOLR-1665:
------------------------------------

bq. ResponseBuilder.addDebugInfo() w/o the interest being passed in has no context as to whether
it should be called or not.

I'm not sure I understand.  It seems to me like addDebugInfo() should just add the debug info?
 It's up to the caller not to call it if debugging isn't enabled.

So how about just adding an additional "boolean debugTiming" to the response builder?
Then places that are timing related can just be switched from checking debug to checking debugTiming?

> Add &debugTimings param so that timings for components can be retrieved without having
to do explains(), as in &debugQuery
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1665
>                 URL: https://issues.apache.org/jira/browse/SOLR-1665
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: Next
>
>         Attachments: SOLR-1665.patch
>
>
> As the title says, it would be great if we could just get back component timings w/o
having to do the full boat of explains and other stuff.

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