hi
Elasticsearch by default throws an exception if searching data for a field which does not fit the existing type. For example, if a field has been created as number type, index a document with a string value for that field causes an error.
i know that Malformed fields are silently ignored at indexing time when ignore_malformed
is turned on. but i want to ignore mapping Exceptions at searching time, Is this possible?
some queries support lenient: true
, what queries are you using?
1 Like
Match query, Range Query, Nested Query , ..
for at least the match query you can set the lenient
param.
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.