I am new to elasticsearch and think its amazing from what I have seen.
I have a question, if I were to use this in my application. For example if I have a website that inserts data into a database, I assume at the same time as inserting the data, it should send a request to elasticsearch to also insert the record?
If this is the case, What would be the recommendation for when data is deleted from the database? Do I need to ensure the elasticsearch record is also deleted?
Another option is to create some type of worker process which does this functionality and compares/synchronises the two?
I just wondered what other people did and what the suggestions are.