AnsweredAssumed Answered

Alfresco from Lucene to Solr problem

Question asked by daniele.gallarato.gmail on May 16, 2016
Latest reply on May 31, 2016 by andy
Hello everyone.

We have a running alfresco 4.0 system, with Lucene searching engine, and we'd like to migrate to new 5.x version.
We are trying to instruct alfresco to use solr, and we are using this guide:

https://docs.alfresco.com/5.0/tasks/lucene-solr4-migration.html

When we restart alfresco, visiting the link indicated (http://localhost:8080/solr/admin/cores?action=SUMMARY&wt=xml) we got the error:

HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: <abortOnConfigurationError>false</abortOnConfigurationError> in null ————————————————————- org.apache.solr.common.SolrException: No system property or default value specified for enable.alfresco.tracking at org.apache.solr.common.util.DOMUtil.substituteProperty(DOMUtil.java:311) at <snipped>

I've checked in the configuration files

/opt/alfresco-4.0.d/alf_data/solr/workspace-SpacesStore/conf/solrcore.properties
/opt/alfresco-4.0.d/alf_data/solr/archive-SpacesStore/conf/solrcore.properties

and it looks like enable.alfresco.tracking is setted:

<snipped>
data.dir.root=/opt/alfresco-4.0.d/alf_data/solr
data.dir.store=workspace/SpacesStore
enable.alfresco.tracking=true
cache.alfresco.size=100
max.field.length=2147483647
<snipped>

I've googled with no luck.

Any help will be appreciated.

Thanks in advance
Daniele

Outcomes