搜索index索引所有内容

GET /index/_search
{
  "query": {
    "match_all": {}
  }
}

查询index列表 设置limit 数据条数

GET /index/_search
{
  "query": {
    "match_all": {}
  },
  "from": 0,
  "size": 1
}

删除index索引内容

POST /speed_search_engine_test/_delete_by_query
{
  "query": {
    "match_all": {}
  }
}

删除index索引

DELETE /speed_search_engine_test

删除es中所有索引

DELETE /_all
DELETE /*
Last modification:October 14, 2020
如果觉得我的文章对你有用,请随意赞赏