Does elasticsearch support functionality like before insert trigger


(Aditya) #1

Hello Team,

Is it possible to create trigger to check if document with some field value already exist and depending on condition either insert or drop document.

Thank you for your help and support.

Thank you,
Aditya


(Alexander Reelsen) #2

Hey,

can you explain your use-case a bit more maybe? What exactly are you trying to solve? Is this field in the same document that you are trying to index or in another document. Maybe there is a different way to solve this. In general this is something that you would have to implement yourself.

Have you seen the ingest node functionality? Using a script processor your could possibly do this already, but again this depends on the concrete use-case, so more information is needed.

--Alex


(system) closed #3

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