Skip to content

Commit bdfded5

Browse files
add links
1 parent a3eb14d commit bdfded5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

reference/api/search.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ curl \
13061306

13071307
Specifies data to populate search fragments when performing multimodal searches.
13081308

1309-
`media` must be an object whose fields must correspond to the data required by one search fragment. `media` must match a single search fragment. If `media` matches more than one fragment or no search fragments at all, Meilisearch will return an error.
1309+
`media` must be an object whose fields must correspond to the data required by one [search fragment](/reference/api/settings#searchfragments). `media` must match a single search fragment. If `media` matches more than one fragment or no search fragments at all, Meilisearch will return an error.
13101310

13111311
It is mandatory to specify an embedder when using `media`.
13121312

reference/api/settings.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2892,8 +2892,6 @@ curl \
28922892
```
28932893
</Note>
28942894

2895-
Use `indexingFragments` and `searchFragments` to set up Meilisearch to perform multimodal searches.
2896-
28972895
`indexingFragments` specifies which fields in your documents should be used during multimodal embedding generation. It must be an object with the following structure:
28982896

28992897
```json
@@ -2958,7 +2956,7 @@ curl \
29582956
```
29592957
</Note>
29602958

2961-
`searchFragments` instructs Meilisearch how to parse fields present in a query's `media` search parameter. It must be an object following the same structure as the `indexerFragments` object:
2959+
`searchFragments` instructs Meilisearch how to parse fields present in a query's [`media` search parameter](/reference/api/search#media). It must be an object following the same structure as the [`indexingFragments`](/reference/api/settings#indexingfragments) object:
29622960

29632961
```json
29642962
"FRAGMENT_NAME": {
@@ -2970,7 +2968,7 @@ curl \
29702968

29712969
As with `indexingFragments`, the content of `value` should follow your model's specification.
29722970

2973-
Use Liquid templates to interpolate search query data into the fragment fields, where `media` gives you access to all fields specified in the query's `media` field:
2971+
Use Liquid templates to interpolate search query data into the fragment fields, where `media` gives you access to all that parameter's fields:
29742972

29752973
```json
29762974
"SEARCH_FRAGMENT_A": {

0 commit comments

Comments
 (0)