当前位置:   article > 正文

ElasticSearch 的 DisMaxQueryBuilder 的理解

ElasticSearch 的 DisMaxQueryBuilder 的理解

DisMaxQueryBuilder的定义:
A query that generates the union of documents produced by its sub-queries, and that scores each document with the maximum score for that document as produced by any sub-query, plus a tie breaking increment for any additional matching sub-queries.

就是DisMaxQueryBuilder可以用来查找出 最高的几个分数的doc,
注意是,这几个最高分的分值是相同的,
如果只有一个最高分的doc就只返回一个doc

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/419439
推荐阅读
相关标签
  

闽ICP备14008679号