File tree Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Expand file tree Collapse file tree 2 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -1533,3 +1533,19 @@ update_network_1: |-
1533
1533
}
1534
1534
}
1535
1535
}'
1536
+ search_parameter_reference_media_1 : |-
1537
+ curl \
1538
+ -X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
1539
+ -H 'Content-Type: application/json' \
1540
+ --data-binary '{
1541
+ "hybrid": {
1542
+ "embedder": "EMBEDDER_NAME"
1543
+ },
1544
+ "media": {
1545
+ "FIELD_A": "VALUE_A",
1546
+ "FIELD_B" : {
1547
+ "FIELD_C": "VALUE_B"
1548
+ "FIELD_D": "VALUE_C"
1549
+ }
1550
+ }
1551
+ }'
Original file line number Diff line number Diff line change @@ -1312,24 +1312,7 @@ It is mandatory to specify an embedder when using `media`.
1312
1312
1313
1313
#### Example
1314
1314
1315
- <CodeSamplesSearchParameterReferenceLocales1 />
1316
-
1317
- ``` sh
1318
- curl -X POST ' MEILISEARCH_URL/indexes/INDEX_NAME/search' \
1319
- -H ' content-type: application/json' \
1320
- --data-binary ' {
1321
- "hybrid": {
1322
- "embedder": "EMBEDDER_NAME"
1323
- },
1324
- "media": {
1325
- "FIELD_A": "VALUE_A",
1326
- "FIELD_B" : {
1327
- "FIELD_C": "VALUE_B"
1328
- "FIELD_D": "VALUE_C"
1329
- }
1330
- }
1331
- }'
1332
- ```
1315
+ <CodeSamplesSearchParameterReferenceMedia1 />
1333
1316
1334
1317
``` json
1335
1318
{
You can’t perform that action at this time.
0 commit comments