Elasticsearch not working on SuiteCRM version Version 7.12.2

I have SuiteCRM Version 7.12.2 installed along with Elasticsearch Version 7.17.4. Initially, everything was functioning correctly, but about a month ago, the Elasticsearch feature stopped working. There was no PHP upgrade as well. Although I am able to manually perform partial and full indexing without any issues, newly created or updated records are not indexed and do not appear in search results. The strange thing is that the records start appearing in global search results only after I perform a quick repair and rebuild. There are no error messages in either SuiteCRM or PHP error logs related to Elasticsearch. I would appreciate any help in identifying and resolving this issue.

Maybe it’s this issue

The absence of logic hooks would explain a missing functionality (with zero log messages).