I have an ElasticSearch server that runs these indexes and searches for documents using the excellent Tire stone. Everything works fine, but I'm not sure how to manually remove documents from the search index.
I poured RDoc and looked for a watch, but this is the only hint of a solution that I can find https://github.com/karmi/tire/issues/309 . Is there an easier way besides creating a custom wrapper around the curl and executing the request manually?
Another problem is that I am using a soft-delete pearl called ActsAsParanoid, so Tire :: Model :: Callbacks does not delete the object on soft-delete.
Any ideas?
source share