Skip to content

Commit 861b522

Browse files
committed
Add example
1 parent 258224c commit 861b522

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,3 +843,18 @@ webhooks_patch_1: |-
843843
})
844844
webhooks_delete_1: |-
845845
client.deleteWebhook(WEBHOOK_UUID)
846+
search_parameter_reference_media_1: |-
847+
client.index('INDEX_NAME').search('a futuristic movie', {
848+
hybrid: {
849+
embedder: 'EMBEDDER_NAME'
850+
},
851+
media: {
852+
textAndPoster: {
853+
text: 'a futuristic movie',
854+
image: {
855+
mime: 'image/jpeg',
856+
data: 'base64EncodedImageData'
857+
}
858+
}
859+
}
860+
})

0 commit comments

Comments
 (0)