@@ -67,7 +67,7 @@ search_parameter_guide_hitsperpage_1: |-
67
67
search_parameter_guide_page_1 : |-
68
68
client.index('movies').search('', page: 2)
69
69
getting_started_typo_tolerance : |-
70
- client.index('movies').update_typo_tolerance({ min_word_size_for_typos: { one_typo: 4 } })
70
+ client.index('movies').update_typo_tolerance({ min_word_size_for_typos: { one_typo: 4 } })
71
71
get_all_tasks_paginating_1 : |-
72
72
client.tasks(limit: 2, from: 10)
73
73
get_all_tasks_paginating_2 : |-
@@ -672,15 +672,15 @@ search_parameter_reference_ranking_score_threshold_1: |-
672
672
rankingScoreThreshold: 0.2
673
673
})
674
674
search_parameter_reference_locales_1 : |-
675
- client.index('INDEX_NAME').search('進撃の巨人', { locales: ['jpn'] })
675
+ client.index('INDEX_NAME').search('進撃の巨人', { locales: ['jpn'] })
676
676
get_localized_attribute_settings_1 : |-
677
- client.index('INDEX_NAME').localized_attributes
677
+ client.index('INDEX_NAME').localized_attributes
678
678
update_localized_attribute_settings_1 : |-
679
- client.index('INDEX_NAME').update_localized_attributes([
680
- { attribute_patterns: ['*_ja'], locales: ['jpn'] },
681
- ])
679
+ client.index('INDEX_NAME').update_localized_attributes([
680
+ { attribute_patterns: ['*_ja'], locales: ['jpn'] },
681
+ ])
682
682
reset_localized_attribute_settings_1 : |-
683
- client.index('INDEX_NAME').reset_localized_attributes
683
+ client.index('INDEX_NAME').reset_localized_attributes
684
684
search_parameter_reference_distinct_1 : |-
685
685
client.index('INDEX_NAME').search('QUERY TERMS', {
686
686
distinct: 'ATTRIBUTE_A'
@@ -695,7 +695,7 @@ update_embedders_1: |-
695
695
client.index('INDEX_NAME').update_embedders(
696
696
default: {
697
697
source: 'openAi',
698
- api_key: 'anOpenAiApiKey ',
698
+ api_key: 'OPEN_AI_API_KEY ',
699
699
model: 'text-embedding-3-small',
700
700
document_template: "A document titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}"
701
701
}
0 commit comments