ElasticSearch是实现搜索的?----评分篇

2020-06-01 00:00:00 排序 分数 包含 得分 相关性
GET my_index/_search
{
  "explain": true, 
  "query":{
            "multi_match": {
              "fields": [
                "name^3.87",
                "name_native^4.12",
                "address_native^0.75",
                "street^0.50",
              ],
              "query": "jinshan Hotel",
              "tie_breaker": 0.12
            }
  }
}

相关文章