# What are the fields in the text field of this index mapping?

**URL:** <https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202>\
**Category:** Elasticsearch\
**Created:** [May 18, 2020, 9:40pm UTC](https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202 "2020-05-18T21:40:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aorona](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aorona/32/67827_2.png) [@aorona](https://discuss.elastic.co/u/aorona)\
**Post date:** [May 18, 2020, 9:40pm UTC](https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202/1 "2020-05-18T21:40:43Z")

</div>

```
    "mappings": { "my_doc": { "properties": {
          "content": {
              "type": "text",
                  "fields": {
                      "ngram": {
                          "type": "text",
                           "analyzer": "ngram_icu_analyzer"
                       },
                      "norm": {
                           "type": "text",
                           "analyzer": "icu_analyzer"
                       },
                      "phonetic": {
                            "type": "text",
                            "analyzer": "phonetic_analyzer"
                      },
                      "stem": {
                          "type": "text",
                           "analyzer": "stem_analyzer"
                      }
              },
             "analyzer": "preserve_analyzer"
            }
     }}}

```

I have an index my\_doc whereas there is a content field specified in the mapping. The content field has multiple "fields" specified under it. Are these all different fields that are processed using the analyzer specified in each K:V pair under the content fields? What exactly am I looking at?

---

<div class="post-metadata">

**Author:** ![aorona](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aorona/32/67827_2.png) [@aorona](https://discuss.elastic.co/u/aorona)\
**Post date:** [May 18, 2020, 11:55pm UTC](https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202/2 "2020-05-18T23:55:15Z")

</div>

To answer my own question, these are multi-fields

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2020, 11:57pm UTC](https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202/3 "2020-05-18T23:57:31Z")

</div>

Thanks for sharing your solution 🙂

---

<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:** [June 15, 2020, 11:57pm UTC](https://discuss.elastic.co/t/what-are-the-fields-in-the-text-field-of-this-index-mapping/233202/4 "2020-06-15T23:57:35Z")

</div>

Closed on June 15, 2020, 11:57pm UTC

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