Skip to content

Commit

Permalink
Add 1.12 code samples (#1801)
Browse files Browse the repository at this point in the history
* Update code samples

* Update .code-samples.meilisearch.yaml

---------

Co-authored-by: Clémentine <[email protected]>
  • Loading branch information
Strift and curquiza authored Dec 19, 2024
1 parent d142107 commit 205caa8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -808,3 +808,20 @@ update_localized_attribute_settings_1: |-
];)
reset_localized_attribute_settings_1: |-
client.index('INDEX_NAME').resetLocalizedAttributes()
# Meilisearch v1.12.0
get_facet_search_settings_1: |-
client.index('INDEX_NAME').getFacetSearch();
update_facet_search_settings_1: |-
client.index('INDEX_NAME').updateFacetSearch(false);
reset_facet_search_settings_1: |-
client.index('INDEX_NAME').resetFacetSearch();
get_prefix_search_settings_1: |-
client.index('INDEX_NAME').getPrefixSearch();
update_prefix_search_settings_1: |-
client.index('INDEX_NAME').updatePrefixSearch('disabled');
reset_prefix_search_settings_1: |-
client.index('INDEX_NAME').resetPrefixSearch();
get_all_batches_1: |-
client.getBatches();
get_batch_1: |-
client.getBatch(BATCH_UID);

0 comments on commit 205caa8

Please sign in to comment.