Property description
The searchIndexSettings asset configures the settings of the Elasticsearch index, including field data types, analyzers, and tokenizers.
Configuring index settings is recommended only for multi-language support use cases.
In all other cases, modifying these settings is strongly discouraged.
Minimal JSON
{
"key": ""
}
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
state | Current status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment). | string | No |
settings | Index settings. Nested properties are: mappings, settings | json | No |
State of the index settings
The state of a searchIndexSettings row controls whether the search index that uses it takes part in indexing. An index whose settings are inactive is skipped everywhere:
- Documents aren’t written to it.
- It isn’t offered for refresh, and a refresh requested for it does nothing.
- A package install that changes it queues no refresh for it.
Set the settings back to active to bring the index back into indexing.