mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
multimodal
experimental feature
This commit is contained in:
parent
e54fc59248
commit
c1a132fa06
6 changed files with 39 additions and 0 deletions
|
@ -972,6 +972,9 @@ pub fn prepare_search<'t>(
|
|||
time_budget: TimeBudget,
|
||||
features: RoFeatures,
|
||||
) -> Result<(milli::Search<'t>, bool, usize, usize), ResponseError> {
|
||||
if query.media.is_some() {
|
||||
features.check_multimodal("passing `media` in a search query")?;
|
||||
}
|
||||
let mut search = index.search(rtxn);
|
||||
search.time_budget(time_budget);
|
||||
if let Some(ranking_score_threshold) = query.ranking_score_threshold {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue