OpenSearch/docs/en/sql
Nik Everett f0be979541 SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398)
The SQL action supports several text outputs and used to default to an
output that looked like the SQL CLI. It is a lovely output format but
this changes output selection behavior to mimick Elasticsearch's
standard behavior: it'll now default to the same format as the request.

That means that if you want the pretty text format then you need to ask
for it. The way to do that is:

```
POST /_xpack/sql?format=text/plain
{
    "query": "SELECT * FROM library ORDER BY page_count DESC LIMIT 5"
}
```

Original commit: elastic/x-pack-elasticsearch@4a15a23b18
2018-04-19 15:40:19 -04:00
..
endpoints SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398) 2018-04-19 15:40:19 -04:00
functions SQL: Comment out TODOs in docs 2018-02-02 11:06:35 -05:00
language SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398) 2018-04-19 15:40:19 -04:00
getting-started.asciidoc SQL: Mimick Elasticsearch defaults for sql action (elastic/x-pack-elasticsearch#4398) 2018-04-19 15:40:19 -04:00
index.asciidoc SQL: Fix doc pointer to SQL's tests 2018-02-07 12:57:11 -05:00
standalone.asciidoc Revert "Revert "Merge branch 'feature/sql'"" 2017-12-13 10:19:31 -05:00