Skip to content

Commit

Permalink
fix: transcode in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Oct 2, 2024
1 parent 36d21b9 commit 63cf6b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,14 +940,14 @@ update_proximity_precision_settings_1: |-
reset_proximity_precision_settings_1: |-
client.Index("books").ResetProximityPrecision()
search_parameter_reference_locales_1: |-
client.index('INDEX_NAME').Search('進撃の巨人', &meilisearch.SearchRequest{
Locates: []Locate{JPN}
client.index("INDEX_NAME").Search("進撃の巨人", &meilisearch.SearchRequest{
Locates: []string{"jpn"}
})
get_localized_attribute_settings_1: |-
client.index('INDEX_NAME').GetLocalizedAttributes()
client.index("INDEX_NAME").GetLocalizedAttributes()
update_localized_attribute_settings_1: |-
client.index('INDEX_NAME').UpdateLocalizedAttributes([]*LocalizedAttributes{
{ AttributePatterns: ['*_ja'], Locales: [JPN] },
client.index("INDEX_NAME").UpdateLocalizedAttributes([]*LocalizedAttributes{
{ AttributePatterns: ["*_ja"], Locales: ["jpn"] },
})
reset_localized_attribute_settings_1: |-
client.index('INDEX_NAME').ResetLocalizedAttributes()
client.index("INDEX_NAME").ResetLocalizedAttributes()

0 comments on commit 63cf6b8

Please sign in to comment.