You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Kevin Osborn <ke...@cbsi.com> on 2013/05/23 01:57:04 UTC

Using alternate Solr index location for SolrCloud

Our prod environment is going to be on Azure. As such, I want our index to
live on the Azure VM's local storage rather than the default VM disk (blob
storage).

Normally, I just use /var/opt/tomcat7/PORT/solr/collection1/data, but I
want to use something else.

I am also using the Collections API to create my collections (I have
several). Is my only option to hardcode the data directory in the
collection's solrconfig.xml? I would prefer to avoid this because not all
environments will have this same disk structure.

Ideally, I could put a parameter in the Collections API for the instance
directory. I see this is available for Core Admin, but I don't see it for
the Collections API itself.

Or failing that, solr.xml would be better.

Does anyone have any suggestions? Thanks.

-- 
*KEVIN OSBORN*
LEAD SOFTWARE ENGINEER
CNET Content Solutions
OFFICE 949.399.8714
CELL 949.310.4677      SKYPE osbornk
5 Park Plaza, Suite 600, Irvine, CA 92614
[image: CNET Content Solutions]