Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Lance Norskog
Also, if you're using multicore, you can set the property in the main solr.xml. This at least puts everything in one place on that server. On Sun, Jul 18, 2010 at 12:36 PM, Chris Hostetter wrote: > > :  'Alternately: you can specifiy the  solr.data.dir system property at run > time' > : > : shou

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Chris Hostetter
: 'Alternately: you can specifiy the solr.data.dir system property at run time' : : should yield the exact result I'm looking for - runtime configuration of multiple instances. : : Thanks for the full reply. To be clear: solr.data.dir isn't any sort of special setting -- that systemproper

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Tracy Flynn
Hoss, The comment at the end: 'Alternately: you can specifiy the solr.data.dir system property at run time' should yield the exact result I'm looking for - runtime configuration of multiple instances. Thanks for the full reply. Regards, Tracy On Jul 18, 2010, at 3:23 PM, Chris Hostetter

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Chris Hostetter
: I think the history of that might involve back compat issues. Correct. Tracy: the *default* location for dataDir, if you have nothing specified in your solrconfig.xml is to be relative your Solr Home ... but if you specify a path, that path is resolved relative the CWD. One of the use cases

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Mark Miller
I think the history of that might involve back compat issues. - Mark On 7/18/10 7:23 AM, Tracy Flynn wrote: > Koji, > > Thanks for that information. That at least offers a work-around for the > problem. > > When I look at the general description of 'solr.solr.home' and the specific > comments

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Tracy Flynn
Koji, Thanks for that information. That at least offers a work-around for the problem. When I look at the general description of 'solr.solr.home' and the specific comments for 'dataDir' in 'solrconfig.xml', the clear implication is that, if nothing is changed, the dataDir value should be expect

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-18 Thread Koji Sekiguchi
(10/07/18 10:03), Tracy Flynn wrote: That's a little telling INFO: Opening new SolrCore at /Users/johndoe/example1/solr/, dataDir=./solr/data/ Since I'm running with ~/example2 as the current working directory, then that would explain it. Schema etc. is found in ~/example1/solr/conf, but the

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-17 Thread Tracy Flynn
That's a little telling INFO: Opening new SolrCore at /Users/johndoe/example1/solr/, dataDir=./solr/data/ Since I'm running with ~/example2 as the current working directory, then that would explain it. Schema etc. is found in ~/example1/solr/conf, but the data is being managed in ~/example2/

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-17 Thread Mark Miller
What is your data dir set to? It should say in the start up logging. - Mark http://www.lucidimagination.com (mobile) On Jul 17, 2010, at 8:40 PM, Tracy Flynn wrote: > One more piece of information. I notice that it does look for the schema in > ~/solr_example1/solr/conf. A fatal error is gen

Re: SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-17 Thread Tracy Flynn
One more piece of information. I notice that it does look for the schema in ~/solr_example1/solr/conf. A fatal error is generated if ~/solr_example1/solr/conf is removed. So, it appears to be localized to the writing of the index files.

SOLR 1.4.1 - Issue with recognition of solr.solr.home system property

2010-07-17 Thread Tracy Flynn
There appears to be a problem with the recognition of the 'solr.solr.home' property in SOLR 1.4.1 - or else I have a basic misunderstanding of how 'solr.solr.home' is intended to work. Conduct the following experiment. Take the standard SOLR 1.4.1 distribution. Suppose the home directory is /U