-
Notifications
You must be signed in to change notification settings - Fork 810
SOLR-18091: Separate out core specific info into CoreInfoHandler #4084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| @Override | ||
| public void handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) throws Exception { | ||
| rsp.setHttpCaching(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this request handler need if (AdminHandlersProxy.maybeProxyToNodes(req, rsp, getCoreContainer(req))) { like SystemInfoHandler has? Is that soemthing every class needs?
|
@gerlowskija @igiguere you may be interested in this PR with your work on the V2 apis... |
|
I think this could go to 10x as it turns out the Admin UI, which is the primary consumer, was easy to update. |
https://issues.apache.org/jira/browse/SOLR-18091
Description
Instead of having SystemInfoHandler accessible at two different URLS, and serving different data, just split them and have proper names.
V1: http://localhost:8983/solr/admin/info/system
V2: http://localhost:8983/api/node/system
and
http://localhost:8983/solr/techproducts/admin/info
There appears to be no V2 for the core level
Solution
Make loading pattern clearer. CoreInfoHandler is in ImplicitPlugins.json, while SystemInfoHandler is part of InfoHandler loaded in CoreContainer.
Tests
manual and unit
I still need to check the solr Admin UI to make sure the new /solr/techproducts/admin/info url makes.