An oversight I think. If you create a patch, let me know and we can
get it committed.

Hmmm, not sure though, this'll change the current behavior that people might be
counting on....

On Thu, Nov 6, 2014 at 1:02 AM, Andreas Hubold
<andreas.hub...@coremedia.com> wrote:
> Hi,
>
> I'm trying to configure a different core discovery root directory in
> solr.xml with the coreRootDirectory setting as described in
> https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml
>
> I'd like to just set it to a subdirectory of solr home (a "cores" directory
> to avoid confusion with configsets and other directories). I tried
>
> <str name="coreRootDirectory">cores</str>
>
> but that's interpreted relative to the current working directory. Other
> paths such as sharedLib are interpreted relative to Solr Home and I had
> expected this here too.
>
> I do not set solr home via system property but via JNDI so I don't think I
> can use a ${solr.home}/cores or something like that? It would be nice solr
> home were available for property substitution even if set via JNDI.
>
> Is there another way to set a path relative to solr home here?
>
> Regards,
> Andreas

Reply via email to