Need confirmation for few Elasticsearch queries

Hi Team,

Can you please confirm below query comes under SQL query or DSL query ?

curl -X POST "https://localhost:9200/_sql?format=txt&pretty" -H 'Content-Type: application/json' -d'
{
"query": "SELECT * FROM customer"
}
'

This is a sql query.

Note that's equivalent to:

GET /customer/_search
1 Like

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