hi there.
here is my issue. i init a index with field attrs
which its datatype is keyword. but the datatype of attrs
will accidentally be changed to text.
here is the initial datatype from Get Mapping API:
{
album: {
mappings: {
album: {
attrs: {
full_name: "attrs",
mapping: {
attrs: {
type: "keyword"
}
}
}
}
}
}
}
and after changed:
{
album: {
mappings: {
album: {
attrs: {
full_name: "attrs",
mapping: {
attrs: {
type: "text",
fields: {
keyword: {
type: "keyword",
ignore_above: 256
}
}
}
}
}
}
}
}
}
thanks for help!