Varun Thacker created SOLR-5906:
-----------------------------------

             Summary: core.properties values may get ignored in some cases when 
using the Collection API
                 Key: SOLR-5906
                 URL: https://issues.apache.org/jira/browse/SOLR-5906
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.7
            Reporter: Varun Thacker
             Fix For: 5.0, 4.7.1


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()

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

There might be other similar cases I guess.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to