elastic_tutorial/The Elasticsearch Documentation/2_start/4_DELETE.es
2025-04-09 09:37:23 +03:30

12 lines
359 B
Erlang
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
POST firstindex/_delete_by_query
{
"query": {
"match_all": {}
}
}
// Delete all from the index
// POST <index>/_delete_by_query
// این کد از یک query استفاده میکند تا چیز های درون یک Index را حذف کند
// از آنجایی که در query match_all آمده، همه چی در index حذف میشود