我有一个表,一列是udt
CREATE TYPE baseinfo (
head_commission_nr text,
internal_source text,
internal_changed date,
);
表中该部分的esMap:
"internal_changed": {
"type": "date",
"cql_collection": "singleton"
}
索引失败,原因是:
“type”:“mapper\u parsing\u exception”,“reason”:“执行失败query:null :field“internal\u changed”with type date does not match type timestamp“,”caused\u by“{”type“:”invalid\u request\u exception“,”reason“:”field“internal\u changed”with type date does not match type timestamp“}
我做错什么了?
1条答案
按热度按时间ymdaylpp1#
删除已创建的索引并按以下方式更改Map: