Property description

The searchIndexSettings asset configures the settings of the Elasticsearch index, including field data types, analyzers, and tokenizers.

Warning

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

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
stateCurrent 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).stringNo
settingsIndex settings. Nested properties are: mappings, settingsjsonNo

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.