# Ignore\_above is not working with analyzer and multi fields

**URL:** <https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984>\
**Category:** Elasticsearch\
**Created:** [July 21, 2018, 7:19am UTC](https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984 "2018-07-21T07:19:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hitesh\_Baldaniya](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hitesh\_Baldaniya](https://discuss.elastic.co/u/Hitesh_Baldaniya)\
**Post date:** [July 21, 2018, 7:19am UTC](https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984/1 "2018-07-21T07:19:23Z")

</div>

Hi Team,

I have following schema in my index, when i am trying to add content in field with large length it is giving me following error.

Mapping

```
 {
  "fields": {
    "type": "nested",
    "properties": {
      "uid": {
        "type": "keyword"
      },
      "value": {
        "type": "text",
        "fields": {
          "raw": {
            "type": "keyword",
            "ignore_above": 32766
          }
        },
        "copy_to": [
          "fulltext"
        ],
        "analyzer": "html_strip_analyzer"
      }
    }
  },
  "fulltext": {
    "type": "text",
    "analyzer": "html_strip_analyzer"
  }
}

Error: 
Document contains at least one immense term in field=\"fields.value.raw\" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[87, 104, 101, 110, 32, 117, 115, 105, 110, 103, 32, 82, 111, 98, 108, 111, 120, 32, 83, 116, 117, 100, 105, 111, 39, 115, 32, 115, 99, 114]...', original message: bytes can be at most 32766 in length; got 32778

```

Elasticsearch version: 6.3.1

Even after specifying ignore\_above document is getting failed on create command.

---

<div class="post-metadata">

**Author:** ![Hitesh\_Baldaniya](https://avatars.discourse-cdn.com/v4/letter/h/439d5e/32.png) [@Hitesh\_Baldaniya](https://discuss.elastic.co/u/Hitesh_Baldaniya)\
**Post date:** [July 25, 2018, 12:48pm UTC](https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984/2 "2018-07-25T12:48:18Z")

</div>

Hi Team,

Can anyone help in above issue?

---

<div class="post-metadata">

**Author:** ![Pallavi\_Sahu](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@Pallavi\_Sahu](https://discuss.elastic.co/u/Pallavi_Sahu)\
**Post date:** [July 31, 2018, 1:09pm UTC](https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984/3 "2018-07-31T13:09:01Z")

</div>

Hi,  
I am also facing the same issue.

---

<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:** [August 28, 2018, 1:09pm UTC](https://discuss.elastic.co/t/ignore-above-is-not-working-with-analyzer-and-multi-fields/140984/4 "2018-08-28T13:09:14Z")

</div>

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