Unable to save text with length over 800k

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.

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