You can actually specify a dataDir in the Collection CREATE API by passing
the property.dataDir=/your/data/dir parameter.

It is not very well documented but it is possible.

https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1


On Thu, May 22, 2014 at 4:28 AM, cpalm <cpa...@gmail.com> wrote:

> What I did to finally get this working was remove the
> Catalina/localhost/solr.xml which was allowing the binary to be run from a
> different location,
> I made sure the solr.solr.home=/ebs-data/solr/conf was set to the file
> mount
> I wanted and I then had
> to remove the Dsolr.data.dir=/ebs-data/solr/data " argument.
> Once I did that, I can get collections to create successfully from the
> collections api which now show up under /ebs-data/solr/conf.
>
> In short it seems that the solr.data.dir argument can't be used with the
> collections API.
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SOLR-4-8-Collections-API-Create-Collection-Fails-on-Tomcat-tp4137456p4137506.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to