Skip to content

Commit dfcef91

Browse files
committed
Index examples added in index code samples
1 parent 71aadf7 commit dfcef91

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
get_one_index_1: |-
2+
client.getIndex('movie').show()
3+
list_all_indexes_1: |-
4+
client.listIndexes()
5+
create_an_index_1: |-
6+
client.createIndex({ uid: 'movie' })
7+
update_an_index_1: |-
8+
client.updateIndex({ uid: 'movie' })
9+
delete_an_index_1: |-
10+
client.getIndex('movie').deleteIndex()
11+
get_one_document_1: |-
12+
get_documents_1: |-
13+
add_or_replace_documents_1: |-
14+
add_or_update_documents_1: |-
15+
delete_all_documents_1: |-
16+
delete_one_document_1: |-
17+
delete_documents_1: |-
18+
search_1: |-
19+
get_update_1: |-
20+
get_all_updates_1: |-
21+
get_keys: |-
22+
get_settings_1: |-
23+
update_settings_1: |-
24+
reset_settings_1: |-
25+
get_synonyms_1: |-
26+
update_synonyms_1: |-
27+
reset_synonyms_1: |-
28+
get_stop_words_1: |-
29+
update_stop_words_1: |-
30+
reset_stop_words_1: |-
31+
get_ranking_rules_1: |-
32+
update_ranking_rules_1: |-
33+
reset_ranking_rules_1: |-
34+
get_distinct_attribute_1: |-
35+
update_distinct_attribute_1: |-
36+
reset_distinct_attribute_1: |-
37+
get_searchable_attributes_1: |-
38+
update_searchable_attributes_1: |-
39+
reset_searchable_attributes_1: |-
40+
get_displayed_attributes_1: |-
41+
update_displayed_attributes_1: |-
42+
reset_displayed_attributes_1: |-
43+
get_accept_new_fields_1: |-
44+
update_accept_new_fields_1: |-
45+
get_index_stats_1: |-
46+
get_indexes_stats_1: |-
47+
get_health_1: |-
48+
update_health_1: |-
49+
get_version_1: |-
50+
get_pretty_sys_info_1: |-
51+
get_sys_info_1: |-

0 commit comments

Comments
 (0)