MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / aggregator

Function aggregator

packages/client-search/builds/node.ts:174–181  ·  view source on GitHub ↗
(response: SearchRulesResponse)

Source from the content-addressed store, hash-verified

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 );

Callers 1

retryFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected