【发布时间】:2016-07-21 10:57:39
【问题描述】:
我正在使用弹性搜索,我想对与下面显示的查询具有相同分数的文档进行排序,基于所有文档中存储的“喜欢”字段——整数类型的数量更多。代码 -
query: {
multi_match: {
query: "some cooler",
type: "most_fields",
fields: ["info1", "info2", "info3"]
}
}
【问题讨论】:
标签: sorting elasticsearch