I'm developing an application using ElasticSearch, I want to index a document but ignoring some field.
@Document(indexName = "my_index", type = "user")
public class User{
@Id
private Long userId;
private String name;
private Adress adresse; //ignored field
getters and setters
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.