Re: Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-12 Thread Reth RM
I think there are some root paths defined in solr.sh file that will be in bin directory. You can pick root directory variable from there and use it. Example in solrconfig.xml, there is a value as : " ${solr.install.dir:../../../..}" I think solr.install.dir is the root path and its definition is

Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-11 Thread scott.chu
I got a custom tokenizer. When configuring it, there's an attribute 'fileDir', whose value is a path relative to solr home. But I wish it can be relative to current core. Is there some system variable out-of-box, say {current_core}, that I can use in the value? For example, solr home =