[
https://issues.apache.org/jira/browse/STANBOL-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-1081.
------------------------------------------
Resolution: Fixed
This was fixed with http://svn.apache.org/r1492566 (13.Jun)
> ReferencedSolrServer does not work with Solr 4
> ----------------------------------------------
>
> Key: STANBOL-1081
> URL: https://issues.apache.org/jira/browse/STANBOL-1081
> Project: Stanbol
> Issue Type: Bug
> Components: Commons
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
>
> The ReferencedSolrServer is not yet functional to the Solr 4 related changes
> in the commons.solr module. This is because in the case of the
> ReferencedSolrServer SolrCores are initialized in the constructor of the
> SolrServerAdapter (commons.solr.core), but this does not yet ensure that the
> OsgiSolrResourceLoader is used in that process. Because of that the
> ReferencedSolrServer can not load SolrCores that do use Analyzers that are
> not directly contained in the commons.solr.core bundle (e.g. ICU, SmartCN,
> ...)
> To solve this on needs to generalize the solution used to manually register
> SolrCores so that it does work for any SolrCore created by the CoreContainer
> (wrapped by the SolrServerAdapter).
> After some investigation it looks like overriding the "create(CoreDescriptor
> cd) : SolrCore" would be the best option to achieve this goal. Parsing the
> OsgiSolrResourceLoader in the constructor of the CoreContainer does not work
> as this is overridden by the CoreContainer.load(..) method.
--
This message was sent by Atlassian JIRA
(v6.1#6144)