dsmiley commented on code in PR #5178:
URL: https://github.com/apache/solr/pull/5178#discussion_r4328483021
##########
solr/api/src/java/org/apache/solr/client/api/util/Constants.java:
##########
@@ -24,8 +24,18 @@ private Constants() {
public static final String INDEX_TYPE_PATH_PARAMETER = "indexType";
public static final String INDEX_NAME_PATH_PARAMETER = "indexName";
+
+ // "c" is accepted alongside "collections" because Solr internally forwards
a v2 request to the
+ // node actually hosting a collection using the short "/c/{collection}/..."
alias (see
+ // HttpSolrCall#sendRemoteProxy and V2HttpCall's "c"/"collections"
handling); without it, any
+ // JAX-RS resource built on this prefix 404s with "Cannot find API for the
path" whenever the
+ // request has to be proxied to another node.
Review Comment:
I suppose silence means implied disagreement or lack of interest.
I find an increasing part of my code reviewing job in the age of AI coding
development is to get Claude to shut up when it's saying too much :-)
--
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]