On 11/26/2013 9:19 AM, adfel70 wrote:
The problem we had was that we tried to run:
java -Dsolr.data.dir=/opt/solr/data -Dsolr.solr.home=/opt/solr/home -jar
start.jar
and got different behavior for how solr handles these 2 params.
we created 2 collections, which created 2 cores.
then we got 2 hom
On Nov 25, 2013, at 8:12 AM, adfel70 wrote:
> I was expecting that the path I sent would serve as the BASE path for all
> cores the the node hosts
When running Solr on HDFS, there is a similar prop you can use
-Dsolr.hdfs.home. If you set that, all data dirs are created nicely under it.
We ta
The problem we had was that we tried to run:
java -Dsolr.data.dir=/opt/solr/data -Dsolr.solr.home=/opt/solr/home -jar
start.jar
and got different behavior for how solr handles these 2 params.
we created 2 collections, which created 2 cores.
then we got 2 home dirs for the cores, as expected:
/op
The data _is_ separated from the code. It's all relative
to solr_home which need not have any relation to where
the code is executing from.
For instance, I can start Solr like
java -Dsolr.solr.home=/Users/Erick/testdir/solr -jar start.jar
and have my war in a completely different place.
Best,
Er
Thanks for the reply, Erick.
Actually, I didnt not think this through. I just thought it would be a good
idea to separate the data from the application code.
I guess I'll leave it without setting the datadir parameter and add a
symlink.
--
View this message in context:
http://lucene.472066.n3.n
The first thing I'd do is not send an absolute path. What
happens if you just sent -Dsolr.data.dir=data? (no '/')?
We had this discussion a while ago when we were working
on auto-discovery, and it turns out that
there _are_ legitimate cases in which more than one
core/collection can point to the s
I found something strange while trying to create more than one collection in
SolrCloud:
I am running every instance with -Dsolr.data.dir=/data
If I look at Core Admin section, I can see that I have one core and its
dataDir is set to this fixed location. Problem is, if I create a new
collection, ano