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

core.properties values may get ignored in some cases when using the Collection API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7
    • 4.7.1, 4.8, 6.0
    • None
    • None

    Description

      SOLR-5208 added the functionality that allows the setting of variables (core.properties) on Collections API CREATE command.

      I wanted to create a collection using the collection API and set a different instanceDir.

      So if I try out the following API call, property.instanceDir will not be used because of the logic in CoreAdminHandler.buildCoreDescriptor()

      http://localhost:8983/solr/admin/collections?action=CREATE&name=foo&numShards=1&property.instanceDir=/foo
      

      There might be other similar cases I guess.

      Attachments

        1. SOLR-5906.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-5906.patch
          4 kB
          Shalin Shekhar Mangar
        3. SOLR-5906.patch
          2 kB
          Varun Thacker

        Activity

          People

            shalin Shalin Shekhar Mangar
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: