Mapper parsing exception for dynamic field mapping

Hey guys,
I'm trying to setup my index and i'm running into an issue concerning empty field values

I have a default dynamic template defined for fields starting with en that looks like so:

          "english": {
            "match": "en_*",
            "match_mapping_type": "string",
            "mapping": {
              "type": "text",
              "analyzer": "english",
              "copy_to": "suggest"

This is suppose to analyze any fields starting with that prefix with the english analyzer and copy it's content to a suggest field defined below. The problem is that any indexing operation that contains a field with the name matching that pattern will fail if the field's value is an empty string. I tried enabling the ignore_malformed option as an index setting , but that still didn't fix the issue.

Where should i look to enable ES to drop these fields or ideally keep them with the empty value and not fail the entire index operation?

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