7,164
edits
(→メンテナンス) |
|||
Line 938: | Line 938: | ||
curl -XDELETE 'http://127.0.0.1:9200/.monitoring-alerts-6' | curl -XDELETE 'http://127.0.0.1:9200/.monitoring-alerts-6' | ||
curl -XDELETE 'http://127.0.0.1:9200/.watcher-history-6-YYYY.MM.DD' | curl -XDELETE 'http://127.0.0.1:9200/.watcher-history-6-YYYY.MM.DD' | ||
<syntaxhighlight lang="text" enclose="div"> | |||
************************************************************************************* | |||
Found index level settings on node level configuration. | |||
Since elasticsearch 5.x index level settings can NOT be set on the nodes | |||
configuration like the elasticsearch.yaml, in system properties or command line | |||
arguments.In order to upgrade all indices the settings must be updated via the | |||
/${index}/_settings API. Unless all settings are dynamic all indices must be closed | |||
in order to apply the upgradeIndices created in the future should use index templates | |||
to set default values. | |||
Please ensure all required values are updated on all indices by executing: | |||
curl -XPUT 'http://localhost:9200/_all/_settings?preserve_existing=true' -d '{ | |||
"index.mapping.single_type" : "true" | |||
}' | |||
************************************************************************************* | |||
</syntaxhighlight> | |||
= memo = | = memo = |