Skip to content

Commit 116c001

Browse files
Merge branch 'CSX-1009-autobatch-consecutive' of github.com:meilisearch/documentation into CSX-1009-autobatch-consecutive
2 parents eadb5ba + 09ccd1b commit 116c001

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X POST 'MEILISEARCH_URL/export' \
6+
-H 'Content-Type: application/json' \
7+
--data-binary '{
8+
"url": "TARGET_INSTANCE_URL",
9+
"indexes": {
10+
"*": {
11+
"overrideSettings": true
12+
}
13+
}
14+
}'
15+
```
16+
</CodeGroup>

snippets/samples/code_samples_search_parameter_reference_locales_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ client.index('INDEX_NAME').search('進撃の巨人', { locales: ['jpn'] })
3535

3636
```go Go
3737
client.index("INDEX_NAME").Search("QUERY TEXT IN JAPANESE", &meilisearch.SearchRequest{
38-
Locates: []string{"jpn"}
38+
Locales: []string{"jpn"}
3939
})
4040
```
4141

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
6+
-H 'Content-Type: application/json' \
7+
--data-binary '{
8+
"hybrid": {
9+
"embedder": "EMBEDDER_NAME"
10+
},
11+
"media": {
12+
"FIELD_A": "VALUE_A",
13+
"FIELD_B" : {
14+
"FIELD_C": "VALUE_B"
15+
"FIELD_D": "VALUE_C"
16+
}
17+
}
18+
}'
19+
```
20+
</CodeGroup>

0 commit comments

Comments
 (0)