Marcin Rzewucki created SOLR-5051:
-------------------------------------

             Summary: 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


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to