I was wondering if anyone else had the following issues with the Umbraco 7.5.4 and Examine 0.1.70
When publishing items / deleting them the examine management screen is telling me that I have deletions to be applied to my indexes and that the indexes are no longer optimized.
When looking at the Provider Properties: autoOptimize is set to false
this is supposed to default to True if not set, I have tried setting this to true manually but it still outputs false. see below:
In the image below I have manually rebuilt and optimized the indexes from the management screen buttons
Also I have built a test class to hook into the ContentService Published and Deleted Events so I can Rebuild and Optimize the indexes on these events triggering.
It appears that the Index is rebuilt but not optimized. Code Snipped below:
I would strongly advise against reindexing AND optimizing after content deletes and published. There is no good reason to do that imho.
Rebuilding takes time and will cripple your site during the process. Optimizing the index too frequently is not good too for various lucene related reasons (as I understood).
The main reason for this is our indexes are not updating frequently enough when we have deletions, and always appears to be not optimized unless manually done from the admin screen
Examine Index Issue on Umbraco 7.5.4
I was wondering if anyone else had the following issues with the Umbraco 7.5.4 and Examine 0.1.70
When publishing items / deleting them the examine management screen is telling me that I have deletions to be applied to my indexes and that the indexes are no longer optimized.
When looking at the Provider Properties: autoOptimize is set to false this is supposed to default to True if not set, I have tried setting this to true manually but it still outputs false. see below: In the image below I have manually rebuilt and optimized the indexes from the management screen buttons
Also I have built a test class to hook into the ContentService Published and Deleted Events so I can Rebuild and Optimize the indexes on these events triggering.
It appears that the Index is rebuilt but not optimized. Code Snipped below:
From Git it looks as if autoOptimize has been depreciated.
If anyone can tell me should Examine but auto updating these indexes always on publish / unpublish / delete
Any help would be appreciated
Cheers David
I would strongly advise against reindexing AND optimizing after content deletes and published. There is no good reason to do that imho.
Rebuilding takes time and will cripple your site during the process. Optimizing the index too frequently is not good too for various lucene related reasons (as I understood).
Why would you consider a solution like this?
Hi Damiaan, thanks for your reply, this is just a test POC to see if the optimization would work from code, which it isnt.
Have you any insights on the issue I am experiencing
The main reason for this is our indexes are not updating frequently enough when we have deletions, and always appears to be not optimized unless manually done from the admin screen
is working on a reply...