Custom Examine index error handling: GetAllData() when exceptions are thrown erases the index
Hi all,
As the title says, I have a custom Examine index that is populated from an external API.
If the external API is down or has problems (determined by a try-catch inside the GetAllData() method) and I throw an exception, it does NOT halt the update of the index. It is zero'd out and the website search results return nothing.
I would want the search to continue using the last good index.
Is there any way to tell the simple data service to stop in its tracks?
Custom Examine index error handling: GetAllData() when exceptions are thrown erases the index
Hi all,
As the title says, I have a custom Examine index that is populated from an external API.
If the external API is down or has problems (determined by a try-catch inside the GetAllData() method) and I throw an exception, it does NOT halt the update of the index. It is zero'd out and the website search results return nothing.
I would want the search to continue using the last good index.
Is there any way to tell the simple data service to stop in its tracks?
Cheers Simon
is working on a reply...