You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/07/19 16:24:48 UTC

[jira] [Resolved] (SOLR-5051) CoreAdmin API does not handle config and schema parameters when persistence is enabled

     [ https://issues.apache.org/jira/browse/SOLR-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-5051.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4
                   5.0

It's probably best if you raise these on the user's list first, in this case it would have saved you some work <G>...

Already fixed in SOLR-4910, which will be in Solr 4.4 which is being voted on now.

That said, if you wanted to check out the 4.4 branch as an additional test that would be great! 

svn checkout https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_4
                
> CoreAdmin API does not handle config and schema parameters when persistence is enabled
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-5051
>                 URL: https://issues.apache.org/jira/browse/SOLR-5051
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.3.1
>            Reporter: Marcin Rzewucki
>            Priority: Minor
>             Fix For: 5.0, 4.4
>
>         Attachments: SOLR-5051.patch
>
>
> Custom config and schema name are not written to solr.xml when persistence is enabled and CoresAdmin API is used. 
> For example:
> curl 'http://localhost:8983/solr/admin/cores?action=CREATE&name=mycore&instanceDir=mydir&config=solrconfig-myconf.xml&schema=schema-myconf.xml&collection=mycollection&shard=myshard&loadOnStartup=true&transient=false'
> In solr.xml there will be:
>     <core loadOnStartup="true" shard="myshard" instanceDir="mydir/" transient="false" name="mycore" collection="mycollection"/>
> Solr will use default config and schema XML files, which may lead to some problems in querying and/or indexing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org