mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
add search rules directly takes the filter rather than the searchquery
This commit is contained in:
parent
02b3d82c60
commit
e172e938e7
4 changed files with 6 additions and 6 deletions
|
@ -67,7 +67,7 @@ pub async fn multi_search_with_post(
|
|||
// Apply search rules from tenant token
|
||||
if let Some(search_rules) = index_scheduler.filters().get_index_search_rules(&index_uid)
|
||||
{
|
||||
add_search_rules(&mut query, search_rules);
|
||||
add_search_rules(&mut query.filter, search_rules);
|
||||
}
|
||||
|
||||
let index = index_scheduler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue