ElasticSearch-深刻理解系列8-高级查询

1 查询类型 1.1 根据ID直接查询文档 :GET /index/type/id .相似sql :select * from where tablename=id 1.2 空查询。Get /_search .相似select * from tablename.返回结果格式: { "hits" : { "total" : 14 , //结果数量 "hits" : [ //返回结果,默认只返回 前1
相关文章
相关标签/搜索