# No dynamic or static mapping - data not searchable?

**URL:** <https://discuss.elastic.co/t/no-dynamic-or-static-mapping-data-not-searchable/266270>\
**Category:** Elasticsearch\
**Created:** [March 4, 2021, 5:45pm UTC](https://discuss.elastic.co/t/no-dynamic-or-static-mapping-data-not-searchable/266270 "2021-03-04T17:45:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DefensiveDepth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defensivedepth/32/110034_2.png) [@DefensiveDepth](https://discuss.elastic.co/u/DefensiveDepth)\
**Post date:** [March 4, 2021, 5:45pm UTC](https://discuss.elastic.co/t/no-dynamic-or-static-mapping-data-not-searchable/266270/1 "2021-03-04T17:45:44Z")

</div>

I have a template that disables dynamic mapping and statically maps a few specific fields.

When data is ingested that does not fit the static mappings, I can see the data in elasticsearch, but I can't search it. Querying the mapping API doesn't give me any insight into these particular fields.

What is actually happening in the backend with these fields? Are they not searchable without either dynamic or static mappings?

---

<div class="post-metadata">

**Author:** ![DefensiveDepth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defensivedepth/32/110034_2.png) [@DefensiveDepth](https://discuss.elastic.co/u/DefensiveDepth)\
**Post date:** [March 10, 2021, 4:00pm UTC](https://discuss.elastic.co/t/no-dynamic-or-static-mapping-data-not-searchable/266270/2 "2021-03-10T16:00:52Z")

</div>

Any ideas?

---

<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 7, 2021, 4:01pm UTC](https://discuss.elastic.co/t/no-dynamic-or-static-mapping-data-not-searchable/266270/3 "2021-04-07T16:01:33Z")

</div>

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