2020年9月8日

elasticsearch7 嵌套查询,根据嵌套字段排序--备忘

摘要: 原理:根据条件查询参数主文档信息。然后sort的时候,查询复合条件的子文档的最大max\最小min等值来排序。 GET wk_bbs_index/_search { "post_filter": { "bool": { "adjust_pure_negative": true, "must": [ 阅读全文

posted @ 2020-09-08 12:00 陈惟鲜的博客 阅读(3456) 评论(0) 推荐(0) 编辑

导航