onMissingValue().use() doesn't normalize passed strings with Elasticsearch

Description

It might be fixed in ES 6, but at least in Elasticsearch 5, the default value is not normalized by Elasticsearch as I expected, resulting in wrong results when using mixed case, for example.

Verified in ES 5.6.5.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Minor