Re: Using properties from core configuration in data-config.xml

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
Thanks gistolero. I have added this to the FAQ http://wiki.apache.org/solr/DataImportHandlerFaq On Wed, Nov 19, 2008 at 2:34 AM, <[EMAIL PROTECTED]> wrote: > Very cool :-) > > Both suggestions work fine! But only with solr version 1.4: > https://issues.apache.org/jira/browse/SOLR-823 > > Use a ni

Re: Using properties from core configuration in data-config.xml

2008-11-18 Thread gistolero
Very cool :-) Both suggestions work fine! But only with solr version 1.4: https://issues.apache.org/jira/browse/SOLR-823 Use a nightly build (e.g. 2008-11-17 works): http://people.apache.org/builds/lucene/solr/nightly/ See below for examples for both solutions... ((( 1 ))) > There may be one

Re: Using properties from core configuration in data-config.xml

2008-11-17 Thread Shalin Shekhar Mangar
There may be one way to do this. Add your property in the invariant section of solrconfig's DataImportHandler element. For example, add this section: ${xmlDataDir} Then you can use it as ${dataimporter.request.xmlDataDir} in your data-config to access this. On Tue, Nov 18, 2008 at 9:17

Re: Using properties from core configuration in data-config.xml

2008-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
nope . It is not possible as of now. the placeholders are not aware of the core properties. Is it possible to pass the values as request params? Request parameters can be accessed . You can raise an issue and we can address this separately On Mon, Nov 17, 2008 at 7:57 PM, <[EMAIL PROTECTED]> wr

Using properties from core configuration in data-config.xml

2008-11-17 Thread gistolero
Hello, is it possible to use properties from core configuration in data-config.xml? I want to define the "baseDir" for DataImportHandler. I tried the following configuration: *** solr.xml *** ... *** data-config.xml *** But this is th