Hello,
I am attempting to integrate the ingest attachment plugin along with ES v 5.2.0, based on the discussion mentioned in https://github.com/elastic/elasticsearch/issues/18073 we no longer support index level settings via the yml, we now have to utilize the index templates API.
ironically i am attempting to push the below setting to all my indices i attempt to create in my cluster
PUT http://server:9200/_template/my_index_template
{"template":"*","settings":{"index.mapping.attachment.indexed_chars":-1,"index.mapping.attachment.detect_language":"true", "index.refresh_interval":-1}}
but I am receiving the following error while invoking this API call
HTTP/1.1 400 Bad Request
content-type: application/json; charset=UTF-8
content-length: 491
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"unknown setting [index.mapping.attachment.detect_language] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"}],"type":"illegal_argument_exception","reason":"unknown setting [index.mapping.attachment.detect_language] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"},"status":400}
i've observed the above error for both , although i have the ingest attachment plugin installed & am able to index files using the ingest attachment processor.
"index.mapping.attachment.indexed_chars":-1,"index.mapping.attachment.detect_language":"true"
i am able to put the settings for
"index.refresh_interval":-1
could you let me know if i am missing out on something here.
Thanks,
Vikas.