nick-boss-tech commented on code in PR #5015:
URL: https://github.com/apache/solr/pull/5015#discussion_r4179702223


##########
solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-11.adoc:
##########
@@ -41,3 +41,11 @@ bin/solr start -Dsolr.node.roles=data:on,overseer:preferred
 
 A node started this way asks the Overseer to re-run its node prioritization, 
so a preferred node takes over without waiting for the current Overseer to 
restart.
 Note that node roles are fixed for the lifetime of a node: unlike `ADDROLE`, 
they cannot be changed on a running node.
+
+== API Changes
+
+=== Child Plugins in Config API Output Are Keyed by Type

Review Comment:
   🤖 *AI text below* 🤖 *(posted on behalf of Nick Shanin)*
   
   Good question; I checked. The v2 config API is not a separate 
implementation: GetConfigAPI 
(solr/core/src/java/org/apache/solr/handler/admin/api/GetConfigAPI.java:46) 
delegates every call to SolrConfigHandler, the same handler behind the v1 
/config path, and SolrConfigHandler.getApis 
(solr/core/src/java/org/apache/solr/handler/SolrConfigHandler.java:1063) is 
what registers those v2 endpoints. Both surfaces build the response from 
SolrConfig (SolrConfigHandler.java:341) and serialize each plugin through 
PluginInfo.writeMap 
(solr/core/src/java/org/apache/solr/core/PluginInfo.java:197), which is the 
method this PR changes. So on the base code the highlight component was missing 
from the v2 output too, for the same reason, and this fix covers v2 as it 
stands. There is no v2-only config output path in the tree that would need its 
own version of the change.



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

Reply via email to