Creating Filters for Scoped Search Keys
TLDR Jeremy inquired about encapsulating filters for multiple collections into one search key. Jason confirmed the need to create one scoped api key per collection.
1
Jun 22, 2022 (18 months ago)
Jeremy
01:08 AMmovies
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?Jason
03:26 AM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Creation of Scoped Search Key for Different Collections
Imtiaz inquired about creating a Scoped Search Key for different filters. Jason suggested generating one scoped API key for each collection, adjusting it within multi_search through the 'x-typesense-api-key' parameter.
Comparing Performance and Security of Different Data Collection Methods
bnfd asked about differences in performance and memory usage between a single, large data collection and multiple smaller collections. Kishore Nallan explained that the latter is faster, suggested 100 collections sharded by user_id, and informed about the use and security of scoped API keys.
Resolving Issues with Scoped API Keys in Typesense with Golang
Suvarna had problems with generating and using scoped API keys in Typesense with Golang. Several bugs misleading the user were found and fixed by Kishore Nallan.