Add ignore_above mapping when creating documents with Python elasticsearch_dsl

Hi

I'm on elasticsearch 6.4.2 using elasticsearch_dsl 6.2.1 with Python.
if I define a field like this:

instance = Text(fields={'raw': Keyword()})

I'll get this mapping:

      "instance" : {
        "type" : "text",
        "fields" : {
          "raw" : {
            "type" : "keyword"
          }
        }
      },

Is it possible to add the mapping parameter ignore_above to the mapping using elasticsearch_dsl?

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