Skip to content

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

Draft
dsmiley wants to merge 1 commit into
apache:mainfrom
dsmiley:SOLR-18537-proxyRequestsByHeader
Draft

dsmiley wants to merge 1 commit into
apache:mainfrom
dsmiley:SOLR-18537-proxyRequestsByHeader

Conversation

@dsmiley

@dsmiley dsmiley commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

https://issues.apache.org/jira/browse/SOLR-18537

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.

Header or param.
Useful to reach a specific node.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@dsmiley

dsmiley commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

FYI I've been using this for awhile at work.
Marking as Draft because needs a test and documentation.

Are there security concerns here? I don't think so. This is live-nodes only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant