File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,40 @@ curl \
1818}'
1919```
2020
21+ ``` javascript JS
22+ client .index (' INDEX_NAME' ).search (' a futuristic movie' , {
23+ hybrid: {
24+ embedder: ' EMBEDDER_NAME'
25+ },
26+ media: {
27+ textAndPoster: {
28+ text: ' a futuristic movie' ,
29+ image: {
30+ mime: ' image/jpeg' ,
31+ data: ' base64EncodedImageData'
32+ }
33+ }
34+ }
35+ })
36+ ```
37+
38+ ``` php PHP
39+ $client->index('INDEX_NAME')->search('a futuristic movie', [
40+ 'hybrid' => [
41+ 'embedder' => 'EMBEDDER_NAME'
42+ ],
43+ 'media' => [
44+ 'textAndPoster' => [
45+ 'text' => 'a futuristic movie',
46+ 'image' => [
47+ 'mime' => 'image/jpeg',
48+ 'data' => 'base64EncodedImageData'
49+ ]
50+ ]
51+ ]
52+ ]);
53+ ```
54+
2155``` go Go
2256client.Index (" INDEX_NAME" ).Search (" " , &meilisearch.SearchRequest {
2357 Hybrid : &meilisearch.SearchRequestHybrid {
You can’t perform that action at this time.
0 commit comments