Skip to content

Commit 6812bb7

Browse files
Update code samples [skip ci]
1 parent d12ac71 commit 6812bb7

5 files changed

+5
-6
lines changed

snippets/samples/code_samples_experimental_delete_logs_stream_1.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
```bash cURL
44
curl \
55
-X DELETE MEILISEARCH_URL/logs/stream
6+
}'
67
```
78
</CodeGroup>

snippets/samples/code_samples_multi_search_remote_federated_1.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ curl \
2222
}
2323
}
2424
]
25-
}'
2625
```
2726
</CodeGroup>

snippets/samples/code_samples_related_results_embedder_1.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<CodeGroup>
22

33
```bash cURL
4-
curl -X PATCH 'MEILISEARCH_URL/indexes/movies/settings'
5-
-H 'Content-Type: application/json'
6-
-H 'Authorization: Bearer MEILISEARCH_API_KEY'
4+
curl -X PATCH 'MEILISEARCH_URL/indexes/movies/settings'
5+
-H 'Content-Type: application/json'
6+
-H 'Authorization: Bearer MEILISEARCH_API_KEY'
77
--data-binary '{
88
"embedders": {
99
"movies-text": {

snippets/samples/code_samples_search_parameter_guide_vector_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
```bash cURL
44
curl -X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
55
-H 'content-type: application/json' \
6-
--data-binary '{
6+
--data-binary '{
77
"vector": [0, 1, 2],
88
"hybrid": {
99
"embedder": "EMBEDDER_NAME"

snippets/samples/code_samples_updating_guide_create_dump.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
curl \
55
-X POST 'http://<your-domain-name>/dumps' \
66
-H 'Authorization: Bearer API_KEY'
7-
# -H 'X-Meili-API-Key: API_KEY' for v0.24 or below
87
```
98
</CodeGroup>

0 commit comments

Comments
 (0)