Skip to content

Commit 8c8d98c

Browse files
committed
Update .code-samples.meilisearch.yaml
1 parent ceef128 commit 8c8d98c

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,42 @@
33
# the documentation on build
44
# You can read more on https://github.com/meilisearch/documentation/tree/master/.vuepress/code-samples
55
---
6+
async_guide_filter_by_date_1: |-
7+
with filter: { afterEnqueuedAt: 2020-10-11T11:49:53.000Z }
8+
9+
async_guide_multiple_filters_1: |-
10+
with filter: { indexUids: movies, types: ["documentAdditionOrUpdate","documentDeletion"], statuses: ["processing"] }
11+
12+
async_guide_filter_by_id_1: |-
13+
with filter: { uids: [5, 10, 13] }
14+
15+
async_guide_filter_by_status_1: |-
16+
with filter: { status: ["failed", "canceled"] }
17+
18+
async_guide_filter_by_type_1: |-
19+
with filter: { types: ["dumpCreation", "indexSwap"] }
20+
21+
async_guide_filter_by_index_uid_1: |-
22+
with filter: { indexUids: ["movies"] }
23+
24+
delete_task_1: |-
25+
with filter: { uids: [1, 2] }
26+
27+
cancel_task_1: |-
28+
with filter: { uids: [1,2] }
29+
30+
async_guide_canceled_by: |-
31+
with filter: { canceledBy: [9] }
32+
33+
swap_indexes_1: |-
34+
with data: { "indexes":[ "indexA", "indexB" ], "indexes":[ "indexX", "indexY" ] }
35+
36+
search_parameter_guide_hitsperpage_1: |-
37+
with queryparams: { "q": "", "hitsPerPage": 15 }
38+
39+
search_parameter_guide_page_1: |-
40+
with queryparams: { "q": "", "page": 2 }
41+
642
getting_started_typo_tolerance: |-
743
844
get_one_index_1: |-
@@ -49,9 +85,9 @@ get_all_tasks_1: |-
4985
client.getTasks()
5086
get_task_1: |-
5187
client.getTask(1)
52-
get_all_tasks_filtering_1: |-
88+
>>>>>>>>>>> REMOVE_ME get_all_tasks_filtering_1: |-
5389
client.getTasks({ indexUid: ['movies'] })
54-
get_all_tasks_filtering_2: |-
90+
>>>>>>>>>>> REMOVE_ME get_all_tasks_filtering_2: |-
5591
client.getTasks({ status: ['succeeded', 'failed'], type: ['documentAdditionOrUpdate'] })
5692
get_all_tasks_paginating_1: |-
5793
client.getTasks({ limit: 2, from: 10 })

0 commit comments

Comments
 (0)