This page documents an earlier version of the API client. For the latest version, see Update index settings.
editSettings
Only specified settings are overridden.
Unspecified settings are left unchanged.
Specifying null for a setting resets it to its default value.
For a list of available settings, see Index settings.
For best performance, change the settings before you add records to your index.
Examples
Set settings
Set settings and forward to replicas
Parameters
A mapping of settings parameters
you can use on an index.
Whether to forward the same settings to the replica indices.Note: when forwarding settings, make sure your replicas already exist.
It’s impossible to forward settings and create your replicas at the same time.
Response
The task ID used with the
waitTask method.Response as JSON
This section shows the JSON response returned by the API. Each API client wraps this response in language-specific objects, so the structure may vary. To view the response, use thegetLogs method.
Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON