Skip to content

Commit

Permalink
feat(ts): add the attributesToTransliterate setting (#1244)
Browse files Browse the repository at this point in the history
* feat(ts): add the attributesToTransliterate setting

fixes #1243

* Update packages/client-search/src/types/Settings.ts

Co-authored-by: remy-zeiss <46535273+remy-zeiss@users.noreply.github.com>

* split words

Co-authored-by: remy-zeiss <46535273+remy-zeiss@users.noreply.github.com>
  • Loading branch information
Haroenv and remy-zeiss committed Jan 19, 2021
1 parent 446c9a0 commit b91c035
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/client-search/src/types/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,10 @@ export type Settings = {
* results.
*/
readonly decompoundQuery?: boolean;

/**
* Specify on which attributes in your index Algolia should apply Japanese
* transliteration to make words indexed in Katakana or Kanji searchable in Hiragana.
*/
readonly attributesToTransliterate?: readonly string[];
};

0 comments on commit b91c035

Please sign in to comment.