01-15-2018 02:44 PM
Hi,
After upgrading from alfresco 5.0 to 5.2, we found that every change in the content model requires full reindex of solr.
Is that the design? If i add a new content model or edit existing model, why do we need to reindex solr?
Without reindex, the changes are not reflected.
What is the solution for this?
01-15-2018 06:58 PM
You do not need to perform a full reindex for all changes. You only need to perform a reindex for non-incremental changes, such as modifying an already existing type/aspect/property, renaming or deleting that. If your model contains only one such non-incremental change, than all other changes will not be processed by SOLR.
01-15-2018 07:48 PM
Thanks. Can you tell me how to do reindex of incremental changes?
Note: We don't have solr admin site for our alfresco website
01-16-2018 03:45 AM
Reindexing incremental changes does not require anything special. You just need to have Repository and SOLR running, and it should work out of the box. If you have issues, always check your solr.log and provide any error messages you find here.
01-16-2018 11:03 AM
Can you please provide the steps to do incremental reindex?
Note: we are not using model manager neither AMP
01-17-2018 01:25 PM
Like Axel said, you don‘t have to do anything if your model only has „backwards compatilbe“ changes. If not or if you are unshure, do a full reindex.
01-17-2018 01:32 PM
Let me put it in this way.
If i add a new model - do i need a full reindex?
If i edit the existing model say i change the data type of a property - Do i need a full reindex?
Without doing anything i observed that the changes are not picked up.
01-17-2018 01:39 PM
No need to reindex if a new (additional) model is deployed or a property is added. You have to reindex if you change an already existing property.
01-17-2018 01:40 PM
How do you deploy your model?
01-17-2018 01:46 PM
We have a commonModel.xml file where we defined all the custom models. If i want to add a new model,i go and add it to the file and restart the alfresco. By this way, alfresco is able to pick up the changes but when do a CMIS query the content is not returned, After doing a full reindex of solr we are able to query the content
Explore our Alfresco products with the links below. Use labels to filter content by product module.