ElasticSearch ----------- 使用教程1(goland作为工具)
1、<service>:9200/index/type/id
index:相当于database
type:相当于table
id:相当于每条记录的id
2、使用goland内置的testRestful Web Service对ElasticSearch进行增删改查
2.1、进行查询:GET
结果:现在里面还没有数据
2.2、添加数据:POST
添加完成:result:created
查询添加后的数据:
2.3、查询全部记录:
2.4、有条件的查询记录:
2.5、查询表结构;