# After copying template from ES\_1 to ES\_2, Map is not similar

**URL:** <https://discuss.elastic.co/t/after-copying-template-from-es-1-to-es-2-map-is-not-similar/105029>\
**Category:** Elasticsearch\
**Created:** [October 24, 2017, 10:07am UTC](https://discuss.elastic.co/t/after-copying-template-from-es-1-to-es-2-map-is-not-similar/105029 "2017-10-24T10:07:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [October 24, 2017, 10:07am UTC](https://discuss.elastic.co/t/after-copying-template-from-es-1-to-es-2-map-is-not-similar/105029/1 "2017-10-24T10:07:10Z")

</div>

Hi,

I copied a template from ES\_1 to ES\_2. In ES\_1 there are no ".keyword"'s in them while in ES\_2 there are.

I saw in ES\_2:

```
"transactionId": {
            "type": "text",
            "fields": {
              "keyword": {
                "type": "keyword",
                "ignore_above": 256
              }
            }
          },

```

Even though I copied the template from ES\_1 to ES\_2...

This means if I query for an in ES\_1 I will get a result while in ES\_2 I will get an error, but querying for a.keyword in ES\_1 will give me an error but in ES\_2 it will be fine. Why is this, how can I change this?

---

<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:** [November 21, 2017, 10:10am UTC](https://discuss.elastic.co/t/after-copying-template-from-es-1-to-es-2-map-is-not-similar/105029/2 "2017-11-21T10:10:53Z")

</div>

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