Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15837

Config API behaviour inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 8.11
    • None
    • config-api
    • None
    • Tested on 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

    Description

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            failbaddon Antonio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: