For Scoped Search Keys, are you able to create fil...
# community-help
j
For Scoped Search Keys, are you able to create filters on a per collection basis. For example, I have a user that has access to collections
movies
and
actors
but only if the movies are
published
and the actors are
alive
, which are facets on
movies
and
actors
respectively. Is there a way for me to encapsulate this into one scoped search key, or will i need to create two scoped search keys, one for each collection?
j
You would have to create one scoped api key per collection and you can include the x-typesense-api-key field in each search in a multi search request (as of v0.23.0)
👍 1