# Unindexed fields cannot be search

**URL:** <https://discuss.elastic.co/t/unindexed-fields-cannot-be-search/210322>\
**Category:** Kibana\
**Created:** [December 3, 2019, 10:09am UTC](https://discuss.elastic.co/t/unindexed-fields-cannot-be-search/210322 "2019-12-03T10:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashyap](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@kashyap](https://discuss.elastic.co/u/kashyap)\
**Post date:** [December 3, 2019, 10:09am UTC](https://discuss.elastic.co/t/unindexed-fields-cannot-be-search/210322/1 "2019-12-03T10:09:52Z")

</div>

I have a Json object in the following format. I cannot aggregate or search for the data inside the position loop: i.e x,y &z cannot be searched in kibana. Could you please help with the indexing/mapping issue?

```
  sample_data.first_floor {

      "id": "-1",
      "address": "801"
      "position": {
        "x": 0,
        "y": 0,
        "z",
        "id": "-1"
      },
    }
```

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 6, 2019, 1:31pm UTC](https://discuss.elastic.co/t/unindexed-fields-cannot-be-search/210322/2 "2019-12-06T13:31:44Z")

</div>

How did you set up the index in Elasticsearch? What does the mapping for your index look like? In "Dev tools" application, run the following `GET /your_index_name/_mapping`

[https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html)

---

<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:** [January 3, 2020, 1:31pm UTC](https://discuss.elastic.co/t/unindexed-fields-cannot-be-search/210322/3 "2020-01-03T13:31:59Z")

</div>

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