(response: SearchRulesResponse)
| 172 | { |
| 173 | indexName: sourceIndexName, |
| 174 | async aggregator(response: SearchRulesResponse) { |
| 175 | responses.push( |
| 176 | await destinationClient.saveRules( |
| 177 | { indexName: destinationIndexName, rules: response.hits }, |
| 178 | requestOptions, |
| 179 | ), |
| 180 | ); |
| 181 | }, |
| 182 | }, |
| 183 | requestOptions, |
| 184 | ); |