es有2个index,分别是index1和index2当我访问es时,返回index2。再哪儿配置设定的?为什么不返回index1呢?
查询索引,如果你是用Java代码的话,直接 new一个 GetIndexRequest