(
&self,
collection: &Collection,
queries: Vec<Self::SearchInput>,
options: &Self::SearchOptions,
config: &Config,
return_raw_text: bool,
)
| 260 | } |
| 261 | |
| 262 | fn batch_search( |
| 263 | &self, |
| 264 | collection: &Collection, |
| 265 | queries: Vec<Self::SearchInput>, |
| 266 | options: &Self::SearchOptions, |
| 267 | config: &Config, |
| 268 | return_raw_text: bool, |
| 269 | ) -> Result<Vec<Vec<SearchResult>>, WaCustomError> { |
| 270 | queries |
| 271 | .into_par_iter() |
| 272 | .map(|query| self.search(collection, query, options, config, return_raw_text)) |
| 273 | .collect() |
| 274 | } |
| 275 | } |
no test coverage detected