标签: java elasticsearch
我正在使用ElasticSearch开发应用程序,我想索引文档但忽略某些字段。
@Document(indexName = "my_index", type = "user") public class User{ @Id private Long userId; private String name; private Adress adresse; //ignored field getters and setters }
提前致谢