Custom plugins sometimes require custom mappings/settings.
As an example, elastiknn requires a specific setting to enable the plugin for a given index and a custom field mapping for the configuration.
With the Rest High-Level Client, this can be done using XContentFactory. The new Elasticsearch Java Client is much more elegant and type-safe but it does not seem to support custom settings/mappings.
Is there any plan to support this?