Elasticsearch搜索使用fieldNorm解释查询

时间:2016-11-02 16:48:54

标签: search elasticsearch full-text-search elasticsearch-2.0 elasticsearch-5

{ "query": { "match" : { "name": "abcd" } } }

    Hits: {
        "index" : "indexuniq_v5",
        "_type" : "Playlist",
        "_id" : "49680",
        "_score" : 0.5945348,
        "_source" : {
        "name" : "abcd",
        "ratin" : 4
    }
    }, {
        "index" : "indexuniq_v5",
        "_type" : "Playlist",
        "_id" : "49682",
        "_score" : 0.5945348,
        "_source" : {
        "name" : "abcdeert",
        "ratin" : 4
    }
}

如果看到_explain,则所有细节分数都具有相同的值。还有fieldNorm:confused:

为什么分数相等?

https://www.elastic.co/guide/en/elasticsearch/guide/current/scoring-theory.html

0 个答案:

没有答案