I can't use the SOLR component without URN component. It need the MCR.Persistence.URN.Store.Class property. SOLR should be independent of using URN component or PI or use a default if PI should not included.
org.mycore.common.config.MCRConfigurationException: Configuration property MCR.Persistence.URN.Store.Class is not set at org.mycore.common.config.MCRConfiguration.getString(MCRConfiguration.java:533) at org.mycore.common.config.MCRConfiguration.getSingleInstanceOf(MCRConfiguration.java:494) at org.mycore.common.config.MCRConfiguration.getSingleInstanceOf(MCRConfiguration.java:517) at org.mycore.urn.services.MCRURNManager.<clinit>(MCRURNManager.java:77) at org.mycore.solr.index.file.MCRSolrPathDocumentFactory.getDocument(MCRSolrPathDocumentFactory.java:117)
Environment
None
Activity
Kathleen Neumann
August 22, 2016 at 1:43 PM
I looked at the code and assigned this ticket to Thomas. I don't understand why we look for URN in XSL and in Java code:
MCRSolrPathDocumentFactory.java imports org.mycore.urn.services.MCRURNManager and looks for file URNs (line 108 ff)
solr-basetemplate.xsl gets derivate and file urns (line 49 ff)
I can't use the SOLR component without URN component. It need the MCR.Persistence.URN.Store.Class property. SOLR should be independent of using URN component or PI or use a default if PI should not included.
org.mycore.common.config.MCRConfigurationException: Configuration property MCR.Persistence.URN.Store.Class is not set
at org.mycore.common.config.MCRConfiguration.getString(MCRConfiguration.java:533)
at org.mycore.common.config.MCRConfiguration.getSingleInstanceOf(MCRConfiguration.java:494)
at org.mycore.common.config.MCRConfiguration.getSingleInstanceOf(MCRConfiguration.java:517)
at org.mycore.urn.services.MCRURNManager.<clinit>(MCRURNManager.java:77)
at org.mycore.solr.index.file.MCRSolrPathDocumentFactory.getDocument(MCRSolrPathDocumentFactory.java:117)