Rupert Westenthaler created STANBOL-1168:
--------------------------------------------
Summary: Registering a SolrCore with relative paths to the
SolrServerAdapter does not work
Key: STANBOL-1168
URL: https://issues.apache.org/jira/browse/STANBOL-1168
Project: Stanbol
Issue Type: Bug
Reporter: Rupert Westenthaler
Assignee: Rupert Westenthaler
Priority: Minor
When using a relative path to register a SolrCore to the SolrServerAdapter
(commons.solr.core) the path is converted to an absolute one by using the
working directory of the the OSGI environment (Stanbol instance).
Expected would be the use the instance-dir of the SolrCore wrapped by the
SolrServerAdapter.
As a Workaround users can manually convert relative paths to absolute one by
obtaining the instanceDir of the SolrServer they are using (can be obtained
from the properties of the ServiceReference).
--
This message was sent by Atlassian JIRA
(v6.1#6144)