From 745c1a2668985e08fa06bbb255b8522bb8c488f1 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Wed, 8 Mar 2023 09:43:40 +0100 Subject: [PATCH] Make parse_filter pub --- meilisearch/src/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch/src/search.rs b/meilisearch/src/search.rs index 81c5972b8..581f4b653 100644 --- a/meilisearch/src/search.rs +++ b/meilisearch/src/search.rs @@ -745,7 +745,7 @@ fn format_value>( } } -pub fn parse_filter(facets: &Value) -> Result, MeilisearchHttpError> { +pub(crate) fn parse_filter(facets: &Value) -> Result, MeilisearchHttpError> { match facets { Value::String(expr) => { let condition = Filter::from_str(expr)?;