You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/25 15:21:16 UTC
[jira] [Commented] (SOLR-5906) core.properties values may get
ignored in some cases when using the Collection API
[ https://issues.apache.org/jira/browse/SOLR-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13946589#comment-13946589 ]
ASF subversion and git services commented on SOLR-5906:
-------------------------------------------------------
Commit 1581341 from shalin@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1581341 ]
SOLR-5906: Collection create API ignores property.instanceDir parameter
> 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
> Assignee: Shalin Shekhar Mangar
> Fix For: 4.8, 5.0, 4.7.1
>
> Attachments: SOLR-5906.patch, SOLR-5906.patch, SOLR-5906.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org