Hello everybody, we modified the content model in our Alfresco community 6.1 to add new properties to the documents. In Alfresco 5.x we were used to perform a full reindex to make new documents searchable with new properties, so we did the same in Alfresco 6:
1- Stopped Alfresco and Solr
2- Deleted indexes:
rm -f /opt/solr/solrhome/archive/index/*
rm -f /opt/solr/solrhome/alfresco/index/*
rm -f /opt/solr/solrhome/alfrescoModels/*
rm -rf /opt/solr/contentstore/_DEFAULT_/db/*
3- Restarted Alfresco and Solr.
New indexes files are created, but documents searches are not working correctly, especially using IN_TREE clause. (Like this forum question: https://hub.alfresco.com/t5/alfresco-content-services-forum/cmis-query-using-in-tree-and-multi-value-property/td-p/272574 )
Are we doing something wrong? Moreover, in the logs we see lines like this:
WARN (Thread-12) [ ] o.a.s.AlfrescoCoreAdminHandler alfresco already exists, not creating again.
And we do not see lines about recreating indexes, like the ones we saw on Alfresco 5.x, e.g. Solr index directory '<ALFRESCO_HOME>/alf_data/solr/workspace/SpacesStore/index' doesn't exist. Creating new index...