ASS 2.0.2: Solr Cross Locale configuration leads to incomplete SOLR index

cancel
Showing results for 
Search instead for 
Did you mean: 
jego
Partner

ASS 2.0.2: Solr Cross Locale configuration leads to incomplete SOLR index

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.

SCR-20220321-bcu.pngSCR-20220321-bcn.png

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.

SCR-20220321-c82.png

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.

SCR-20220321-c95.png

 

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://hub.alfresco.com/t5/alfresco-content-services-forum/solr-change-shared-properties-in-docker-...

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

2 Replies
angelborroy
Alfresco Employee

Re: ASS 2.0.2: Solr Cross Locale configuration leads to incomplete SOLR index

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.

Hyland Developer Evangelist
jego
Partner

Re: ASS 2.0.2: Solr Cross Locale configuration leads to incomplete SOLR index

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