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: |-
15331533 }
15341534 }
15351535 }'
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`.
13121312
13131313#### Example
13141314
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 />
13331316
13341317``` json
13351318{
You can’t perform that action at this time.
0 commit comments