TypoOptions: {
    correct_typos?: boolean | null;
    disable_on_word?: string[] | null;
    one_typo_word_range?: TypoRange | null;
    prioritize_domain_specifc_words?: boolean | null;
    two_typo_word_range?: TypoRange | null;
}

Typo Options lets you specify different methods to correct typos in the query. If not specified, typos will not be corrected.

Type declaration

  • Optionalcorrect_typos?: boolean | null

    Set correct_typos to true to correct typos in the query. If not specified, this defaults to false.

  • Optionaldisable_on_word?: string[] | null

    Words that should not be corrected. If not specified, this defaults to an empty list.

  • Optionalone_typo_word_range?: TypoRange | null
  • Optionalprioritize_domain_specifc_words?: boolean | null

    Auto-require non-english words present in the dataset to exist in each results chunk_html text. If not specified, this defaults to true.

  • Optionaltwo_typo_word_range?: TypoRange | null