The following table gives an overview of all the search index attributes.
Attribute | Supported values | Description |
|---|---|---|
|
| Indicates that this JSON document defines Search Index Configuration. |
| STRING | Optional. The default locale for the application. Must be a valid IETF BCP 47 locale code. If no value for |
| MULTI VALUED STRING | Optional. The locales supported for this application. Must be valid IETF BCP 47 locale codes. |
Sample configuration of search index attributes
The following JSON object illustrates the syntax of search index attributes.
{
"ecr:type": "search-index-config",
"defaultLocale": "en",
"locales": [
"en-GB",
"fr-CA",
"de",
"es"
]
}
