[ 
https://issues.apache.org/jira/browse/SOLR-18537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136666#comment-18136666
 ] 

ASF subversion and git services commented on SOLR-18537:
--------------------------------------------------------

Commit 439b2e5096f7bd591d893fd9971e4ad9f9f15770 in solr's branch 
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=439b2e5096f ]

SOLR-18537: Proxy requests to a node via X-Solr-targetNode (#5112)

Any request can now be routed to a specific SolrCloud node by setting the 
`X-Solr-targetNode` header (or, for GET requests, a query parameter of the same 
name). The receiving node proxies the request there.  This is useful for 
reaching a particular node behind a load balancer, including for node-level 
admin APIs.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Nick Shanin <[email protected]>

> Proxy to any user-specified SolrCloud node by header/param
> ----------------------------------------------------------
>
>                 Key: SOLR-18537
>                 URL: https://issues.apache.org/jira/browse/SOLR-18537
>             Project: Solr
>          Issue Type: Improvement
>          Components: Server
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: response.md
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> It can be very useful for Solr to proxy requests to another node, specified 
> in a header or param.  The intended scenario is when there's an HTTP proxy in 
> front of Solr, and the backing Solr nodes aren't directly reachable.  Solr is 
> doing that now for a few admin endpoints that have already been coded for it, 
> using {{GenericV1RequestProxy}} internally (e.g. for logging, info, ...).  
> The issue here instead proposes a generic mechanism that doesn't require Solr 
> handlers to be coded any differently.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to