[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to