elasticsearch 在ES/Kibana中,你的分数是多少?,elasticsearch,kibana,elasticsearch,Kibana" /> elasticsearch 在ES/Kibana中,你的分数是多少?,elasticsearch,kibana,elasticsearch,Kibana" />

elasticsearch 在ES/Kibana中,你的分数是多少?

elasticsearch 在ES/Kibana中,你的分数是多少?,elasticsearch,kibana,elasticsearch,Kibana,我有这个文件在ES中,我正在通过Kibana查看它 _分数字段代表什么 { "took": 2, "timed_out": false, "_shards": { "total": 11, "successful": 11, "skipped": 0, "failed": 0 }, "hits": { "total": 1, "max_score": 0.2876821, "hits": [ {

我有这个文件在ES中,我正在通过Kibana查看它

_分数字段代表什么

{
  "took": 2,
  "timed_out": false,
  "_shards": {
    "total": 11,
    "successful": 11,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 1,
    "max_score": 0.2876821,
    "hits": [
      {
        "_index": "order",
        "_type": "ACKNOWLEDGED",
        "_id": "9901234567",
        "_score": 0.2876821,
        "_source": {
          "applicationCode": "SAPS00",
          "orderId": "9901234567",
          "status": "ACKNOWLEDGED",
          "orderUpdatedDateTime": "2018-07-08T10:12:21Z",
          "totals": {
            "orderShippingTaxAmount": 3.5,
            "orderSubtotalTaxAmount": 12.55,
            "grandTotalTaxAmount": 15
          },
          "orderLines": [
            {
              "lineId": "1",
              "unitPriceTaxAmount": 5.45,
              "totalPriceTaxAmount": 10.67,
              "lineShippingTaxAmount": null
            },
            {
              "lineId": "2",
              "unitPriceTaxAmount": 2.45,
              "totalPriceTaxAmount": 8.67,
              "lineShippingTaxAmount": null
            }
          ]
        }
      }
    ]
  }
}

Elasticsearch中的
\u分数
是确定匹配与查询的相关性的一种方法。Elasticsearch使用的默认评分函数实际上是Lucene的默认内置函数,这是Elasticsearch在引擎盖下运行的功能。这里有一篇文章对得分做了很好的描述

Elasticsearch在引擎盖下运行Lucene,因此默认情况下使用 Lucene的实用评分函数。这是一个基于相似度的模型 术语频率(tf)和逆文档频率(idf)也 使用向量空间模型(vsm)进行多术语查询


它表示所述文档对您的查询的评分。这可能值得一读: