我正在尝试在es中存储具有日期文件的文档,但我收到解析错误: org.elasticsearch.index.mapper.MapperParsingException:无法解析类型为zonedDateTime的字段creationDate 下面是我的文档定义 @Document(indexName = "index", type = "myType")
public class myDocum
给定的 private Map<String, ZonedDateTime> timePoints = new HashMap<>(); 如何提示spring-data字段的类型?@Field(FieldType.Date)
private Map<String, ZonedDateTime> timePoints = new HashMap<>(); 如果未提供字段类型,则会出现以下错误It will be mapped to a com
"answer_timer" : 5 // other fields here } }如您所见,字段Preferences没有空值。我的问题是,当我添加一个基于Preferences字段的脚本字段时,它会引发一个错误。此字段在所有文档中都有价值。
问题是什么,我如何解决?谢谢。但是在Elasticsearch<