mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 15:38:21 -05:00
♻️ refactor: remove the code to pass the query
data into the SearchResults
struct (#302)
This commit is contained in:
parent
141ae26066
commit
5c60d733cd
@ -166,7 +166,7 @@ pub async fn aggregate(
|
|||||||
|
|
||||||
let results: Vec<SearchResult> = result_map.into_values().collect();
|
let results: Vec<SearchResult> = 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.
|
/// Filters a map of search results using a list of regex patterns.
|
||||||
|
Loading…
Reference in New Issue
Block a user