關閉索引code
POST http://localhost:9200/<index_name>/_close
打開索引索引
POST http://localhost:9200/<index_name>/_open
expand_wildcards 指定相應索引sed
POST http://localhost:9200/index*/_search?expand_wildcards=closed //指定關閉的索引 POST http://localhost:9200/index*/_search?expand_wildcards=open //指定開啓的索引 POST http://localhost:9200/index*/_search?expand_wildcards=(open,closed) //指定關閉的索引