Spaces:
Runtime error
Runtime error
neon_arch
commited on
Commit
•
5c60d73
1
Parent(s):
141ae26
♻️ refactor: remove the code to pass the `query` data into the `SearchResults` struct (#302)
Browse files
src/results/aggregator.rs
CHANGED
@@ -166,7 +166,7 @@ pub async fn aggregate(
|
|
166 |
|
167 |
let results: Vec<SearchResult> = result_map.into_values().collect();
|
168 |
|
169 |
-
Ok(SearchResults::new(results,
|
170 |
}
|
171 |
|
172 |
/// Filters a map of search results using a list of regex patterns.
|
|
|
166 |
|
167 |
let results: Vec<SearchResult> = result_map.into_values().collect();
|
168 |
|
169 |
+
Ok(SearchResults::new(results, &engine_errors_info))
|
170 |
}
|
171 |
|
172 |
/// Filters a map of search results using a list of regex patterns.
|