_all, _field_names元字段
Indexing meta-fields(索引的元字段)
_all field
curl -XPUT 'localhost:9200/my_index/user/1?pretty' -H 'Content-Type: application/json' -d' # 1
{
"first_name": "John",
"last_name": "Smith",
"date_of_birth": "1970-10-24"
}
'
curl -XGET 'localhost:9200/my_index/_search?pretty' -H 'Content-Type: application/json' -d'
{
"query": {
"match": {
"_all": "john smith 1970"
}
}
}
'在查询中使用 _all 字段
禁用 _all 字段
排除 _all 的字段
索引提升和 _all 字段
自定义 _all 字段
高亮显示和 _all 字段
存储 _all 字段
高亮显示原始字段
_field_names field
Last updated