mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Introduce an input field for the facet filters on the http-ui
This commit is contained in:
parent
2341b99379
commit
218eb97241
3 changed files with 10 additions and 7 deletions
|
@ -573,8 +573,9 @@ async fn main() -> anyhow::Result<()> {
|
|||
search.query(query);
|
||||
}
|
||||
if let Some(condition) = query.facet_condition {
|
||||
let condition = FacetCondition::from_str(&rtxn, &index, &condition).unwrap();
|
||||
search.facet_condition(condition);
|
||||
if let Some(condition) = FacetCondition::from_str(&rtxn, &index, &condition).unwrap() {
|
||||
search.facet_condition(condition);
|
||||
}
|
||||
}
|
||||
|
||||
let SearchResult { found_words, documents_ids } = search.execute().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue