From 5c60d733cd95b2a32606f8385eb76bbf92e375bb Mon Sep 17 00:00:00 2001 From: neon_arch Date: Sat, 18 Nov 2023 21:41:08 +0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20remove=20the?= =?UTF-8?q?=20code=20to=20pass=20the=20`query`=20data=20into=20the=20`Sear?= =?UTF-8?q?chResults`=20struct=20(#302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/results/aggregator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/results/aggregator.rs b/src/results/aggregator.rs index b57768f..f605260 100644 --- a/src/results/aggregator.rs +++ b/src/results/aggregator.rs @@ -166,7 +166,7 @@ pub async fn aggregate( let results: Vec = result_map.into_values().collect(); - Ok(SearchResults::new(results, query, &engine_errors_info)) + Ok(SearchResults::new(results, &engine_errors_info)) } /// Filters a map of search results using a list of regex patterns.