gpt4 book ai didi

elasticsearch - Elasticsearch:原始字段和关键字字段之间的区别

转载 作者:行者123 更新时间:2023-12-03 01:26:47 24 4
gpt4 key购买 nike

在Elasticsearch 7中,考虑以下三个映射:

        "properties" : {
"actors" : {
"type" : "text",
"fields" : {"keyword" : {"type" : "keyword","ignore_above" : 25}}
},


  "properties" : {
"actors" : {
"type" : "text",
"fields" : {"raw" : {"type" : "keyword","ignore_above" : 25}}
},


  "properties" : {
"actors" : {
"type" : "text",
"fields" : {"custom_field" : {"type" : "keyword","ignore_above" : 25}}
},

actors.keyword,actors.raw和actor.custom_field有什么区别?

谢谢

最佳答案

他们是一样的。它们只是类型为关键字的三个字段,具有不同的名称

关于elasticsearch - Elasticsearch:原始字段和关键字字段之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57935463/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com