hi,
you can try this in your checkIfIsDuplicate(), build a query based on
your title, and set it to a delete command:
//build your query accordingly, this depends on how your
tittle is indexed, eg analyzed or not. be careful with it and do some test.
DeleteUpdateCommand
Hi
I am building a custom UpdateRequestProcessor to intercept any doc heading to
the index. Basically what I want to do is to check if the current index has a
doc with the same title (i am using IDs as the uniques so I can't use that, and
besides the logic of checking is a little more complicat