Is your feature request related to a problem?
As I have multiple users on my platform I don't want those users to have access to each others documents.
Therefore I need a way to limit what they can search.
Describe the solution you'd like
Is this maybe what I'm searching for here?
https://www.algolia.com/doc/guides/security/api-keys/how-to/user-restricted-access-to-data/
https://typesense.org/docs/0.13.0/api/#generate-scoped-search-key
Describe alternatives you've considered
Maybe there are alternatives but I couldn't see them in the documentation?
Additional context
N/A
Hello @maximedegreve! We don't have a solution out of the box for your use case right now (#843 may be a step toward that though, thanks to restricted indexes and parameters).
I would however suggest that you try faceting for this. You could add a list of authorized user-ids to your documents, and set that list as an attribute for faceting. searching with a facet to "authorized_uuids:
Let me know if that helps
That makes sense @MarinPostma. However one concern here is that someone could fetch all docs by not defining a facet?
Yes, you'd have to proxy meilisearch request for it to work safely. We have plans to address that in the short future.
For the pricing, you can checkout one of ours send, maybe you'll find something that suits your needs
Most helpful comment
Hello @maximedegreve! We don't have a solution out of the box for your use case right now (#843 may be a step toward that though, thanks to restricted indexes and parameters)." will only return documents with uid authorized.
I would however suggest that you try faceting for this. You could add a list of authorized user-ids to your documents, and set that list as an attribute for faceting. searching with a facet to "authorized_uuids:
Let me know if that helps