ELK,萌萌哒

_score字段

Elasticsearch | 作者 LX123123 | 发布于2018年10月20日 | 阅读数:1574

_score字段事用来干什么的呢?
已邀请:

rochy - rochy_he

赞同来自: LX123123

这个你可以参考官方文档:The _source field contains the original JSON document body that was passed at index time. The _source field itself is not indexed (and thus is not searchable), but it is stored so that it can be returned when executing fetch requests, like get or search.
 
简单来说:_source 字段用于存储最原始的 JSON 文档内容(创建索引时传递的),这个字段不能被搜索,它可以在 get 或者 search 请求阶段进行返回;此外它会参与字段高亮计算、文档的更新等操作,一般不推荐关闭 _source 字段。

要回复问题请先登录注册