curl '192.168.1.199:9200/_cat/indices?v' 查看索引
现在,我们创建一个名字叫“customer”的索引,然后查看索引
curl -X PUT "192.168.1.199:9200/customer?pretty"
‘’2‘’.‘’通过‘’如‘’下‘’语‘’句‘’,‘’我‘’们‘’可‘’以‘’获‘’取‘’‘’集‘’群‘’的‘’节‘’点‘’列‘’表:‘’
curl 'localhost:9200/_cat/nodes?v'
curl '192.168.1.199:9200/_cat/indices?v' 查看索引
现在,我们创建一个名字叫“customer”的索引,然后查看索引
curl -X PUT "192.168.1.199:9200/customer?pretty"
‘’2‘’.‘’通过‘’如‘’下‘’语‘’句‘’,‘’我‘’们‘’可‘’以‘’获‘’取‘’‘’集‘’群‘’的‘’节‘’点‘’列‘’表:‘’
curl 'localhost:9200/_cat/nodes?v'