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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.