Take the 2-minute tour ×

i am using solr 1.4.1 for building a distributed search engine, but i dont want to use only one index file - i want to create new core "index"-directories on the fly in my java code.

i found following rest api to create new cores using an EXISTING core directory (http://wiki.apache.org/solr/CoreAdmin).


is there a way to create a new core without an extisting core directory? has solr such a function? via rest or in the solrj-api? thanks.

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

It's not currently possible to programmatically submit your schema and config to Solr to create a new core. Here's the JIRA issue about it.

As mentioned in the comments, you can work around it by using something like WebDAV or scp or sftp.

share|improve this answer
@EricWilson : nope, you still can't submit a client-defined schema. –  Mauricio Scheffer Jun 25 '12 at 16:01
add comment

Your Answer


