我将Spring- data -elasticsearch与Spring Boot结合使用,并尝试使用ElasticsearchRepository向elasticsearch接收/发送数据。我想在其上使用@JsonProperty的属性在java程序中名为someProperty,在'elasticsearch‘DB中名为some-property。@
我正在使用Elasticist 4.0.1。我有个领域private Map<String, Map<String, List<City>>> province = new HashMap<>();public class ElasticConfig extends AbstractElasticsearchConfiguration {
@Override