目录
es任务相关
开启任务模式的方式
POST index/_update_by_query?wait_for_completion=false
查看正在执行的reindex
GET _tasks?detailed=true&actions=*reindex
查看es 正在执行的任务
GET _tasks?detailed=true&actions=*
根据id查看任务
GET _tasks/XCfbv4-JQhqNaJPgNqVMjQ:163535467
取消任务
GET _tasks/XCfbv4-JQhqNaJPgNqVMjQ:163535467/_cancel
es分词效果查看
公共分词器
GET _analyze
{
"analyzer":"ik_max_word",
"text":"我是中国人"
}
索引私有分词器
PUT a_test
GET a_test/_analyze
{
"analyzer":"ik_smart",
"text":"我是中国人"
}