# Unable to save text with length over 800k

**URL:** <https://discuss.elastic.co/t/unable-to-save-text-with-length-over-800k/74202>\
**Category:** Elasticsearch\
**Created:** [February 7, 2017, 10:13am UTC](https://discuss.elastic.co/t/unable-to-save-text-with-length-over-800k/74202 "2017-02-07T10:13:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nilesh\_Yadav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nilesh_yadav/32/15283_2.png) [@Nilesh\_Yadav](https://discuss.elastic.co/u/Nilesh_Yadav)\
**Post date:** [February 7, 2017, 10:13am UTC](https://discuss.elastic.co/t/unable-to-save-text-with-length-over-800k/74202/1 "2017-02-07T10:13:51Z")

</div>

I am trying to migrate from MySQL to Elasticsearch. One of field has Text length more than 800k in MySQL. My properties:

```
curl -XPUT 'http://localhost:9200/book' -d '
{
  "mappings": {
    "case": {
      "properties": {
        "lesson_id": {
          "type": "integer"
        },
        "lesson_date": {
          "type": "date",
          "format": "yyyy-MM-dd HH:mm:ss"
        },
        "lesson": {
          "type": "text"
        }
      }
    }
  }
}'

```

I am getting blank response when I run migrate script for the record.

---

<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:** [March 7, 2017, 10:13am UTC](https://discuss.elastic.co/t/unable-to-save-text-with-length-over-800k/74202/2 "2017-03-07T10:13:55Z")

</div>

Closed on March 7, 2017, 10:13am UTC

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