0%
记录常用的语句,省得到处找
查询数据并写入新Index
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| POST _reindex { "source": { "index": "myindex", "query": { "bool": { "must_not": [ {"term": { "country": { "value": "中国" } }} ] } } }, "dest": { "index": "myindexnew" } }
|