In some cases, you don’t want every user to be able to access all the objects that you have indexed on Algolia. You want to restrict the search to the objects this specific user has access to.
There are 2 ways to achieve this:
Having an index for each user. With Algolia, you can have as many indices as you want, so you can create one index for each user, create one API key for each index. It’s as simple as that. If you want to create tens of thousands of indices, you may want to contact us first.
We're always looking for advice to help improve our documentation! Please let us know what's working (or what's not!) - we're constantly iterating thanks to the feedback we receive.