# Recommended document structure

**URL:** <https://discuss.elastic.co/t/recommended-document-structure/99249>\
**Category:** Elasticsearch\
**Created:** [September 4, 2017, 7:00am UTC](https://discuss.elastic.co/t/recommended-document-structure/99249 "2017-09-04T07:00:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaharmor](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Post date:** [September 4, 2017, 7:00am UTC](https://discuss.elastic.co/t/recommended-document-structure/99249/1 "2017-09-04T07:00:16Z")

</div>

Hi,

We’re trying to figure out if there are any benefits of doing:

option 1:

```auto
{
  "country": {
    "name": "United States"
  }
}

```

option 2:

```auto
{
  "country.name": "United States"
}

```

option 3:

```auto
{
  "countryName": "United States"
}

```

In terms of performance & usability.

---

<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:** [October 2, 2017, 7:00am UTC](https://discuss.elastic.co/t/recommended-document-structure/99249/2 "2017-10-02T07:00:35Z")

</div>

Closed on October 2, 2017, 7:00am UTC

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