02-16-2023 10:25 AM
Hi:
We are planning Solr index optimization and we ask four your guidance and experience regarding this. As we have a large repository with more than 250 M files and 600K uploads and 800K deletions daily we consider this action as an important manintenance action to safegauard solr performance.
As this is is the first time we do this, we have some doubts:
I really apreciate your guidance and help.
Regards
Gabiel Marin
02-16-2023 10:30 AM
Are you aware of what hitting that "Optimize Now" button implies?
Please, check this article before moving forward: https://lucidworks.com/post/solr-segment-merge-frees-wasted-space-caused-by-deleted-documents/
Additional information is provided in Alfresco Official documentation:
https://docs.alfresco.com/search-services/latest/config/performance/#optimize-solr-index
02-16-2023 10:30 AM
Are you aware of what hitting that "Optimize Now" button implies?
Please, check this article before moving forward: https://lucidworks.com/post/solr-segment-merge-frees-wasted-space-caused-by-deleted-documents/
Additional information is provided in Alfresco Official documentation:
https://docs.alfresco.com/search-services/latest/config/performance/#optimize-solr-index
02-16-2023 11:04 AM
Thanks a lot for the info @angelborroy . I see that optimizing is like a "point of no return" action. Anyway after considering the information I see this action as recommended in my case where I daily upload lots of new documents and delete lots of old documents.
Also I am aware that I will need to keep optimizing regularly. I also already have double the index size allocated before performing this task
Am I missing something?
02-19-2023 03:12 PM
Finnaly we performed optimization using maxSegments=90 considering we had more than 200 (.../solr/alfresco/update?optimize=true&maxSegments=90)
Optimization took about 7 hours and finished succesfully freeing about 15% of index space.
Thanks a lot for your guidance
Explore our Alfresco products with the links below. Use labels to filter content by product module.