ElasticSearch

1. 查看 indices

GET /_cat/indices/butler-*?h=h,s,i,id,p,r,dc,dd,ss,creation.date.string
1

2. 删除

POST butler-documents-int/_delete_by_query
{
    "query": { 
    "match": {
        "_id": "document-8080-id-b0ef4245-6b89-43c5-92ea-8abe51753453"
    }
    }
}
POST butler-documents-fat/_delete_by_query
{
    "query" : {
        "terms" : {
            "_id" : 
                [ "4894C6BF93DA41420F009B010000C60F000000000000"]
        }
    }
}

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

参考:

  • https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
  • https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html
最近更新: 6/12/2019, 10:52:07 PM