karthikdivi
karthikdivi

Reputation: 3643

Can we use Elasticsearch SQL to insert or update data?

I am playing with Elasticsearch SQL to query data using the familiar SQL syntax. Is it possible to use the same SQL syntax for data manipulation like inserts/ updates/ deletes?

Upvotes: 0

Views: 1591

Answers (1)

LeBigCat
LeBigCat

Reputation: 1770

No,supported commands are listed here: https://www.elastic.co/guide/en/elasticsearch/reference/7.2/sql-commands.html

As if operation like update seems to be simple, in fact for complex model (like a document with nested fields, children...) the sql syntax wouldnot be usefull to make these kings of operation.

Upvotes: 1

Related Questions