cpoerschke commented on code in PR #2382:
URL: https://github.com/apache/solr/pull/2382#discussion_r1840522423
##########
solr/core/src/java/org/apache/solr/handler/component/DebugComponent.java:
##########
@@ -115,6 +116,12 @@ public void process(ResponseBuilder rb) throws IOException
{
info.add("facet-debug", fdebug.getFacetDebugInfo());
}
+ ReverseSearchDebugInfo rsdebug =
+ (ReverseSearchDebugInfo)
(rb.req.getContext().get(ReverseSearchDebugInfo.KEY));
+ if (rsdebug != null) {
+ info.add("reverse-search-debug", rsdebug.getReverseSearchDebugInfo());
+ }
+
Review Comment:
> ... an alternative way ...
Yeah, I had no particular way or implementation in mind as such, only that
as a concept `solr/modules/foobar` components leaving 'footprint' in `solr/core
DebugComponent.java` is perhaps undesirable and that 'solving' it would also
benefit custom components in general, something along those lines.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]