Elasticsearch 子查询
来源:互联网 发布:阿里云香港翻墙 编辑:程序博客网 时间:2024/06/06 03:16
curl -XPOST 'xxxx:9200/yl1001search_2015/groups/_search?pretty=true' -d '{ "query": { "bool": { "must": [ { "terms": { "group_audit_status": [ 5, 99 ] } }, { "bool": { "should": [ { "multi_match": { "query": "650016", "fields": [ "ygroup_name^3", "ygroup_tag_names", "ygroup_intro" ], "minimum_should_match": 1 } }, { "term": { "group_code": "650016" } } ] } } ], "should": [ { "terms": { "group_open_status": [ 1, 100 ] } }, { "has_child": { // 子查询 "type": "groups_person", "query": { "term": { "person_id": "12819671" } } } } ], "minimum_should_match": 1 } }, "size": 10, "from": 0, "sort": { "_score": { "order": "desc" } }, "highlight": { "fields": { "ygroup_name": {} }, "pre_tags": [ "<font color=red>" ], "post_tags": [ "</font>" ] }}'
0 1
- Elasticsearch 子查询
- elasticsearch-查询
- Elasticsearch查询
- Elasticsearch查询
- ElasticSearch查询
- Elasticsearch 查询
- Elasticsearch查询配置(Elasticsearch+springboot)
- Elasticsearch- 分词查询
- Elasticsearch- 集群状态查询
- elasticsearch-查询基础篇
- elasticsearch 查询问题
- elasticsearch moreLikeThis查询应用
- ElasticSearch查询字符串
- ElasticSearch结构化查询
- Elasticsearch基础查询
- ElasticSearch基本查询
- elasticsearch分页查询
- elasticsearch-查询基础篇
- javaEE之------Spring-----》 AspectJ注解
- 人脸检测
- MySQL5.7版本密码设置
- ORACLE SQL语句总结
- C++头文件一览
- Elasticsearch 子查询
- 对象序列化
- Spring MVC @JsonView实现在消息转换器中过滤数据
- angular js自定义指令
- iOS高德地图 初始化 重定义比例尺
- for... in...
- Bootstrap 布局
- HDU 4596Yet another end of the world(GCD)
- jquery ajax之loading效果