The following table gives an overview of all the search index attributes.

Attribute

Supported values

Description

ecr:type

search-index-config

Indicates that this JSON document defines Search Index Configuration.

defaultLocale

STRING

Optional. The default locale for the application. Must be a valid IETF BCP 47 locale code.

If no value for defaultLocale is specified, the default locale is English.

locales

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"
  ]
}

Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices