I am seeing MappingParsingException logged in the elasticsearch log and I find that it is correct. My code has a bug for a field. The issue is that no error was thrown to my RestHighLevelClient. I want my application to be able to at least log that there was an indexing issue. I would prefer indexing of the entire document to fail rather than silently ignoring the erroneous field. I thought maybe I have "ignore_malformed" set to true, but it doesn't appear to be set on the index. Not sure if it is (can) be set at the global level. Should I just set "ignore_malformed" to false on each index?
Here are my current settings:
"settings" : {
"index" : {
"creation_date" : "1593197783182",
"number_of_shards" : "1",
"number_of_replicas" : "1",
"uuid" : "sHNzsNm4Td-FwwR47Yysfw",
"version" : {
"created" : "7070099"
},
"provided_name" : "dev1_uee_search_requests"
}
}
I tried setting ignore_malformed on my existing index but I get
"Can't update non dynamic settings [[index.mapping.ignore_malformed]] for open indices