elasticsearch - UPSERT function for elastica? -


I want to update batch in elastic search using elastica. The data comes from a Postgrascill DB and the SAD is similar to the PQ ID. After an operation in SQL DB ID and its data can be changed, removed or inserted.

When an ID batch is updated in an ID, which is not in existence, then an exception is thrown - bad. When trying to destroy an ID, which is not present, even a removable is of the following type - it is also bad.

Is there a great and efficient solution to avoid sold updates?

elastica can not say about, but you can use elasticsearch + on curl It looks very bad but should work.


Comments

Popular posts from this blog

mysql - How to enter php data into a html multiple select box -

java - Can't add JTree to JPanel of a JInternalFrame -

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -