Re: Custom path for solr lib and data folder

2009-03-16 Thread Chris Hostetter
: Assume my current working directory is C:/MyApplication/searchApp : and in the solr.xml i am specifying C:/lib as shared lib, : then the console output contains the following line: I'm sorry .. aparently my understanding of hte java File library has been severly flawed for the last 12 years.

Re: Custom path for solr lib and data folder

2009-03-12 Thread con
Hoss Assume my current working directory is C:/MyApplication/searchApp and in the solr.xml i am specifying C:/lib as shared lib, then the console output contains the following line: INFO: loading shared library: C:\MyApplication\searchApp\C:\lib Thanks con hossman wrote: > > Adding '" +

Re: Custom path for solr lib and data folder

2009-03-11 Thread Chris Hostetter
Adding '" + jars[j].toString() + "' to Solr classloaderAdding '" + jars[j].toString() + "' to Solr classloader : > But how can i redirect solr to a seperate lib directrory that is outside of : > the solr.home : > : > Is this possible in solr 1.3 : : I don't believe it is possible (but please co

Re: Custom path for solr lib and data folder

2009-03-11 Thread Erik Hatcher
On Mar 11, 2009, at 6:07 AM, con wrote: But how can i redirect solr to a seperate lib directrory that is outside of the solr.home Is this possible in solr 1.3 I don't believe it is possible (but please correct me if I'm wrong). From SolrResourceLoader: log.info("Solr home set to '"

Re: Custom path for solr lib and data folder

2009-03-11 Thread con
Thanks Erik That did the trick for data directory. I gave the -DSOLR_DATA=''%SOLR_DATA%" in the jboss run.bat and then i am using this variable in solrconfig.xml. This works fine But how can i redirect solr to a seperate lib directrory that is outside of the solr.home Is this possible in solr

Re: Custom path for solr lib and data folder

2009-03-11 Thread Erik Hatcher
On Mar 11, 2009, at 5:14 AM, con wrote: But still it is not working I changed the data directory accordingly, ${SOLR_DATA} But this is not working and is giving the following error: SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value sp

Re: Custom path for solr lib and data folder

2009-03-11 Thread con
Thanks nobble for the quick reply, But still it is not working I changed the data directory accordingly, ${SOLR_DATA} But this is not working and is giving the following error: SEVERE: Error in solrconfig.xml:org.apache.solr.common.SolrException: No system property or default value specified

Re: Custom path for solr lib and data folder

2009-03-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
environment variables do not work in solr.xml datadir must not be specified like this ${solr.data.dir:"%SOLR_DATA%"} it should be like ${SOLR_DATA} the part aftyer the colon is the default value On Wed, Mar 11, 2009 at 1:53 PM, con wrote: > > Hi All > > Because of my particular development e