Antonio created SOLR-15837:
------------------------------
Summary: Config API behaviour inconsistent
Key: SOLR-15837
URL: https://issues.apache.org/jira/browse/SOLR-15837
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: config-api
Affects Versions: 8.11
Environment: Tested on {color:#000000}Linux fedora
5.15.6-100.fc34.x86_64 #1 SMP Wed Dec 1 13:41:51 UTC 2021 x86_64 x86_64 x86_64
GNU/Linux{color}
Reporter: Antonio
Attachments: image-2021-12-07-16-06-35-704.png
According to documentation published in
https://solr.apache.org/guide/8_11/config-api.html, Config API should work for
both cloud mode and standalone mode.
When using V1 of Config API to retrieve config (command:
http://localhost:8981/solr/testDocument/config), I get proper response.
When using V2 of Config API to retrieve config (command:
http://localhost:8981/api/collections/testDocuments/config), I get "Solr not
running in cloud mode" error.
Steps to reproduce:
1. Download 8.11 version of solr and run it
2. Create core with name testDocument
3. Navigate to http://localhost:8983/solr/testDocument/config
4. Verify that proper response is returned
3. Navigate to http://localhost:8983/api/collections/testDocuments/config
5. Verify that "Solr not running in cloud mode" json message is displayed
Im not sure if this is either bug or documentation error.
!image-2021-12-07-16-06-35-704.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]