Elasticsearch Entity Class

Read more about how to use the ElasticSearch plugin .

The entity class used by the ElasticSearch plugin is very similar to that used by the JPA DAO. You have to create a POJO class and describe the physical data structure (ElasticSearch index attributes and the corresponding parameters).

Here's an example for an ElasticSearch entity class: