Skip to content

Commit d9b93ad

Browse files
committed
Add code-sample for snapshot creation
1 parent a22d842 commit d9b93ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ faceted_search_1: |-
549549
client.index('books').search('classic', { facets: ['genres', 'rating', 'language'] })
550550
post_dump_1: |-
551551
client.createDump()
552+
create_snapshot_1: |-
553+
client.createSnapshot()
552554
phrase_search_1: |-
553555
client.index('movies')
554556
.search('"african american" horror')

0 commit comments

Comments
 (0)