# How to put Nested entity into elastic with JAVA API?

**URL:** <https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456>\
**Category:** Elasticsearch\
**Created:** [March 5, 2018, 8:15am UTC](https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456 "2018-03-05T08:15:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phoebe](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Phoebe](https://discuss.elastic.co/u/Phoebe)\
**Post date:** [March 5, 2018, 8:15am UTC](https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456/1 "2018-03-05T08:15:14Z")

</div>

the entity like:  
private String WebName;  
private String webmoduleName;  
private String webpageName;  
private String webmoduleNameAndWebPageName;

```
private List<String> btnNameList;
private String webpageUrl;
private String webpageId;
private String webpageTitle;
private Date webpageEnterTime;
private Date webpageLeaveTime;

private List<BtnMsgEntity> btnMsgEntityList ;
private List<EnterDivMsgEntity> enterDivMsgEntity;
private List<String> selectOptionList;
private List<String> searchContent;
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 2, 2018, 8:15am UTC](https://discuss.elastic.co/t/how-to-put-nested-entity-into-elastic-with-java-api/122456/2 "2018-04-02T08:15:16Z")

</div>

Closed on April 2, 2018, 8:15am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
