I will need to add documents to an elasticsearch index i already have. I want to validate if the document i an adding already exists in this index, and if thats the case, dont add it
Is elasticsearch controlling that scenario returning an exception? If not, how can i validate this?
I have tried using the GET API, but you need to send the ID as parameter. i want to search inside the whole index, not using a specific ID