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
Files changed (1) hide show
  1. src/results/aggregator.rs +1 -1
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, query, &engine_errors_info))
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.