Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // document class for elasticsearch domain object
- @Document(indexName = "recipe", type = "recipe", shards = 1, replicas = 0, refreshInterval = "-1")
- public class RecipeEntityES {
- @Id
- private Integer id;
- private String name;
- private String author;
- @Field(type = FieldType.String)
- @Version
- private Long version;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- ...
- }
Add Comment
Please, Sign In to add comment