会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
护花使者
CnBlogs
Home
New Post
Contact
Admin
Subscription
2019年7月26日
elasticsearch Terms Query 实现类似于sql in查询
本文demo基于elasticsearch 5.1.1, 项目中使用的还是较早的版本 例如 以上可以查询索引类型中对应的字段是 建一个users索引, 有一个类型是user, id为 2。 有个followers字段,是数组。 建一个tweets索引。其类型是tweet, id为1. 然后查询twe
Read More
posted @ 2019-07-26 10:35 护花使者
Views(13207)
Comments(0)
Diggs(0)
Edit
公告