14,953
edits
| Line 49: | Line 49: | ||
== Select | == Select all data from index or table == | ||
Elasticsearch<ref>[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html Get index API | Elasticsearch Guide [8.15] | Elastic]</ref> | Elasticsearch<ref>[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-index.html Get index API | Elasticsearch Guide [8.15] | Elastic]</ref> | ||
| Line 63: | Line 63: | ||
FROM MY_TABLE | FROM MY_TABLE | ||
LIMIT 1000 | LIMIT 1000 | ||
</pre> | |||
or | |||
<pre> | |||
SELECT * | |||
FROM MY_TABLE | |||
</pre> | </pre> | ||