I want to get last record saved to Elasticsearch

Hi Pals, I have a question about throwing request to Elasticsearch. For example given I will going to send a first message to Elasticsearch with has a field value "Sample" and then I send again another message with different value like "NotSample". On this case, I want to get the last message as response witj value "NotSample", is this something retry_on_conflict can fix? to avoid experiencing 409 error? I don't think so retry_on_conflict is the answer. Does anyone from you all experience this scenario? Thank You for the answers!!!

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