有人知道这会是什么造成的吗? index 里有个字段的 mapping type 从 keyword 变成了 text。查了一圈对这个 index 有操作的代码,没有会影响的。
从
{
album: {
mappings: {
album: {
attrs: {
full_name: "attrs",
mapping: {
attrs: {
type: "keyword"
}
}
}
}
}
}
}
变成了
{
album: {
mappings: {
doc: {
attrs: {
full_name: "attrs",
mapping: {
attrs: {
type: "text",
fields: {
keyword: {
type: "keyword",
ignore_above: 256
}
}
}
}
}
}
}
}
}