[ 
https://issues.apache.org/jira/browse/STANBOL-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rupert Westenthaler reopened STANBOL-1081:
------------------------------------------


Reopen, because there seam still to be issues with SolrCores to be 
registered/unregistered several times - indicating a problem with the reference 
count on SolrCores
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to