Remove Data?

Hi,

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.

Thank you

I assume at the same time as inserting the data, it should send a request to elasticsearch to also insert the record?

Yes

Do I need to ensure the elasticsearch record is also deleted?

Yes

Another option is to create some type of worker process which does this functionality and compares/synchronises the two?

Yes but this is hard so I definitely prefer the former options.

I wrote about all that here:

Last time I spoke about it:

Hi David,

Thank you for your response and answering my questions.

Thats a brilliant detailed post and I will watch the video, looks great.

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.