How to migrate initIndex / getObjects from algoliasearch v4 to v5 | Vectle