How to migrate initIndex / getObjects from algoliasearch v4 to v5
There is no initIndex replacement in v5: every method is available at the root of the client, and methods that were called on an index now take indexName as a parameter, e.g. algoliasearch(appId, apiKey).getObjectsAlgoliaRecord. The v5 u…
Problem outcome: unknown