gpt4 book ai didi

elasticsearch - 如何在嵌套字段上使用 copy_to

转载 作者:行者123 更新时间:2023-11-29 02:57:14 27 4
gpt4 key购买 nike

是否可以在嵌套字段中使用 copy_to :

这是我的映射的摘录:

day: {
type: nested
properties: {
weight: {
index_name: bzixtz2fng.day.weight
type: double
}
value: {
index_name: bzixtz2fng.day.value
type: string
copy_to: [
raw_words
back
]
}
}
}

为什么我在后面搜索时找不到我的文档

{
"query": {
"term": {
"back": "one"
}
}
}

附言:版本 1.0.1

最佳答案

这是一个问题 #6701在 elasticsearch 上,在 v1.4.0 中修复。

关于elasticsearch - 如何在嵌套字段上使用 copy_to,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23612609/

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