Parsing Exception on Mapped Type Object Enabled False

One of our fields in our field mapping is mapped as type object with enabled set to false. It is our understanding this is stored in _source, but not parsed or indexed.

"payload": { "type": "object", "enabled": false },

We have been successfully utilizing this mapping for some time now with 500K records indexed. All of a sudden, we are getting a mapper_parsing_exception referencing a field in the stored object where the parser is trying to parse a date and there is a text value.

If we were indexing this field and we had a field mapped as date, this parsing exception would make sense. Otherwise, why all of a sudden is any data in this field being parsed? I just want to confirm my understanding "we should be able to put any JSON object we want ... even completely different types of JSON objects in a field mapped as type object and when enabled is set to false, there should be no parsing or indexing at all". Is this correct?

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