cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco from Lucene to Solr problem

daniele_gallara
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

You could just migrate to the required version of Alfresco and rebuild your index there.
For Alfresco 5.0 you should go to SOLR 4 anyway.

It looks like you have hit a bug - unless you have other cores defined in solr.xml in <SOLR_HOME>
You could go to 4.1 or 4.2 if you want to try on 4.x.

Andy