[
https://issues.apache.org/jira/browse/SOLR-14451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244423#comment-17244423
]
Munendra S N commented on SOLR-14451:
-------------------------------------
[^SOLR-14451.patch]
Initial patch. Propagate debug=query to all shard request. Still need to add
test cases.
While working on this, I noticed when debug=timing, response contains query
debug information instead of just containing timings. Is this expected?
> debug=query does not reliably ensure json.facet debug info returned in cloud
> clusters
> -------------------------------------------------------------------------------------
>
> Key: SOLR-14451
> URL: https://issues.apache.org/jira/browse/SOLR-14451
> Project: Solr
> Issue Type: Bug
> Components: Facet Module, SolrCloud
> Reporter: Chris M. Hostetter
> Priority: Major
> Attachments: SOLR-14451.patch
>
>
> While working on a randomized cloud test in SOLR-13132 that needs to inspect
> the {{"facet-trace"}} debug output to inspect the processor used (among other
> details), i discovered that {{FacetModule}} would not reliably initialize the
> {{FactDebugInfo}} container when using {{debug=query}} in the request.
> AFAICT, it *does* appear to always track & return facet debugging info when
> using {{debug=true}} instead - but i haven't rigerously proved this.
> Under the covers, {{FacetModule}} is just checking
> {{ResponseBuilder.isDebug()}} - an old "back compat" API for components to
> check before we started breaking down multiple types of "debug" info - that
> should return true anytime {{debug=query}} is set, so there is really no
> logical reason why this shouldn't work... it's got to be a bug somewhere (it
> doesn't seem tied to the request, but does break on diff randomized indexes,
> so perhaps it's related to the document/bucket distribution? or maybe
> something more low level and unrelated to FacetModule at all?)
> ----
> It only seems to be a problem in cloud mode - i haven't observed
> FacetModule's debug output behave any differently between {{debug=query}} vs
> {{debug=true}} in single node mode.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]