假如更新 索引robot_lenovo的索引分析
一、关闭索引
POST http://localhost:9200/robot_lenovo/_close
二、更新索引分析
PUT /robot_lenovo/_settings
{
"analysis" : {
"analyzer":{
"content":{
"type":"custom",
"tokenizer":"whitespace"
}
}
}
}
三、打开索引
POST http://localhost:9200/robot_lenovo/_open