Elasticsearch: Difference between revisions

Jump to navigation Jump to search
8 bytes added ,  15 October 2024
m
Line 13: Line 13:
</pre>
</pre>


== Truncate the index ==
== Truncate the index or table ==
Elasticsearch: [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html Delete API | Elasticsearch Guide [8.15] | Elastic]<ref>[https://stackoverflow.com/questions/31929695/truncate-index-in-elasticsearch python - Truncate index in elasticsearch - Stack Overflow]</ref>
Elasticsearch: [https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html Delete API | Elasticsearch Guide [8.15] | Elastic]<ref>[https://stackoverflow.com/questions/31929695/truncate-index-in-elasticsearch python - Truncate index in elasticsearch - Stack Overflow]</ref>


Line 24: Line 24:
TRUNCATE MY_TABLE
TRUNCATE MY_TABLE
</pre>
</pre>


== Create the index ==
== Create the index ==

Navigation menu