Skip to main content
  • Type: array
  • Default: ["*"]
  • Scope: settings
The attributesToTransliterate parameter specifies which attributes should be transliterated when using Japanese. This allows users to search in one writing system, such as Hiragana and match records written in another, such as Kanji or Katakana.

Usage

  • Attribute names are case-sensitive.
  • Only supported for Japanese content.
  • You must set indexLanguages to "ja" for this setting to take effect.
  • "*" applies transliteration to all searchable attributes.

Example

Current API clients

IndexSettings settings = new IndexSettings
{
  IndexLanguages = new List { "ja" }
  AttributesToTransliterate = new List { "name", "description" }
};

// Synchronous
index.SetSettings(settings);

// Asynchronous
await index.SetSettings(settings);
IndexSettings settings = new IndexSettings
{
  IndexLanguages = new List { "ja" }
  AttributesToTransliterate = new List { "name", "description" }
};

// Synchronous
index.SetSettings(settings);

// Asynchronous
await index.SetSettings(settings);
I