我正在使用spring data elasticsearch (https://docs.spring.io/spring-data/elasticsearch/docs/current/reference<dependency> <artifactId>spring-data-elasticsearch</
在我们当前的Spring-data-elasticsearch v.4.0.4应用程序中,我们在POJO上使用@Document,并且我们注意到,只要我们有一个空值字段,该字段在Elasticsearch因此,当我们在此字段上运行查询和排序时,将出现Elasticsearch错误No mapping found for [view_date] in order to sort on 我们尝试使用v.4.1.0但是,在Elasticsearch中仍然没有此字段的映射类型,并且当我们对此空值字段进行排
是否可以将elasticsearch服务器版本5与spring 4 (spring-data-elasticsearch)结合使用?到目前为止,如果我使用spring-data-elasticsearch 2.x,我可以加载应用程序,但会得到错误failed to get local cluster state。如果我包含3.x,那么我无法启动应用程序并返回错误Initialization of bean failed; nested exception is java.lang.AbstractMeth