Query on Generating Search Keys with Cross-field ORs
TLDR Sai asked if cross-field ORs can be embedded in scoped search keys. Kishore Nallan clarified that this is currently not supported.
Sep 14, 2022 (15 months ago)
Sai
09:39 AMKishore Nallan
09:41 AMSai
10:11 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
Creating Scoped Search Keys with OR Condition
Sai asked about creating scoped search keys with OR conditions. Jason confirmed they must create two different keys or pre-compute the OR at indexing time.
Generate Multiple Scoped Search Keys with Typesense
Kian inquired if many `scoped search keys` could be generated for each user and prevent access to indexes unrelated to each user. Kishore Nallan confirmed this and explained filtering by 'user_id' in the API key would restrict record access.
Issues with Scoped Search Keys on App
Sai was having trouble with generating scoped search keys for users on their app. Kishore Nallan helped identify the problem; the userAcl field was not indexable, thus, it needed to be set as indexable.