diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 93791c842..b6cfaf2b5 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -759,7 +759,16 @@ search_parameter_reference_ranking_score_threshold_1: |- search_parameter_reference_retrieve_vectors_1: |- client.index('INDEX_NAME').search('kitchen utensils', { retrieveVectors: true, - hybrid: { embedder: 'default'} + hybrid: { + embedder: 'EMBEDDER_NAME' + } + }) +search_parameter_guide_hybrid_1: |- + client.index('INDEX_NAME').search('kitchen utensils', { + hybrid: { + semanticRatio: 0.9, + embedder: 'EMBEDDER_NAME' + } }) get_similar_post_1: |- client.index('INDEX_NAME').searchSimilarDocuments({ id: 'TARGET_DOCUMENT_ID'}) @@ -788,7 +797,7 @@ multi_search_federated_1: |- ] }) search_parameter_reference_locales_1: |- - client.index('INDEX_NAME').search('進撃の巨人', { locales: ['jpn'] }) + client.index('INDEX_NAME').search('QUERY TEXT IN JAPANESE', { locales: ['jpn'] }) get_localized_attribute_settings_1: |- client.index('INDEX_NAME').getLocalizedAttributes() update_localized_attribute_settings_1: |-