03-21-2022 04:25 AM
Hi all,
lately we have upgraded an Alfresco system for a customer from Alfresco 5.0.2 to 7.0.1 (with 5.2.5 as intermediate).
On the testsystem we have encountered a problem with the SOLR index.
Problem:
After complete SOLR 6 reindex we have noticed quickly that the SOLR index was not complete although all transactions were processed by SOLR and no exceptions are logged in SOLR.
Users cannot find all objects via search.
Analysis:
We have started reindex with a modified Alfresco Search Service Image which enables cross locale search.
To modify the config, we have used the original image and overwrite the shared.properties file in the docker container . The official documentation https://docs.alfresco.com/search-services/latest/config/indexing/#cross-locale can be found here.
With this setting the SOLR index will be completely build (no index lag), but does not contain all necessary SOLR documents.
It seems that only the custom model is effected. We have a custom folder with properties.
Looking at SOLR admin we have seen following stats. The number of documents with TYPE contractRecord is too low. Not all folders are indexed.
We have tried several times (2-3x) to reindex the whole repository to exclude temporary problems, but this does not help.
We have not detected anything why this happens as it looks like an internal SOLR problem.
Workaround:
After using the original ASS image, the SOLR index will be completely rebuild and the index will contain all necessary documents.
Looking in the SOLR admin application the correct number of documents for type contractRecord was indexed.
References:
https://docs.alfresco.com/search-services/latest/config/indexing/#cross-locale
https://alfresco.atlassian.net/browse/MNT-22007
https://github.com/aborroy/search-services-cross-locale
https://github.com/keensoft/alf-21940-repo
https://github.com/Alfresco/SearchServices/issues/234#issuecomment-699843033
Environment:
- Running ACS 7.0.1 and ASS 2.0.2 in Azure AKS with modified helm charts
- The repository was upgraded serveral times (from 3 to 3.2r, 3.2r to 5.0.2, 5.0.2 to 5.2.5, 5.2.5 to 7.0.1 now)
Does anybody have an idea how to proceed here? Anything more we can debug or look at?
CC: @angelborroy and @afaust
Thanks for helping out!
Jens
03-21-2022 05:02 AM
May you try also with https://github.com/alfresco/alfresco-docker-installer?
It should be also helpful to have some additional details on the model, so we can reproduce the behaviour locally.
03-22-2022 07:41 AM
Hi @angelborroy ,
thanks for the pointer to the github project. I have looked at it and we do basically the same - modify the shared.properties file and enable three lines in the config 🙂
I cannot post the model publically here. As the customer uses the Enterprise version, I have opened a support ticket as well. You can find more infos in the next hours here: https://community.hyland.com/customer-portal/38383/support-cases/00619869
My intention to post here was the hope that maybe somebody else has made the same experience and knows a solution. 🙂
Thanks
Jens
Explore our Alfresco products with the links below. Use labels to filter content by product module.