ElasticSearch 文档 ID 是否评分?

Are ElasticSearch document IDs scored?

如果文档的映射设置为已分析,则会对其进行评分,然后return查询相关结果。文档 ID (_id) 是否也计分? 我需要对已分析的文档执行精确的 ID 匹配,并且无法将类型更改为未分析,因为我无法转储该索引中已有的数据。 使用特定 ID return 进行查询是否会完全匹配?

elasticsearch 不对文档 ID 进行评分。

因此 index/type/id 将使用给定的 id

获取准确的文档

来自文档:

Each document indexed is associated with a _type (see the section called “Mapping Typesedit”) and an _id. The _id field is not indexed.