#community-help

Sorting Search Results by User Subscription

TLDR Tobias asked how to sort song search results based on user subscription. Jason suggested using scoped API keys.

Powered by Struct AI
May 08, 2023 (7 months ago)
Tobias
Photo of md5-5a7e6fd9a070eac5034a6034f0dc38b1
Tobias
02:01 PM
Hello! If I have a dataset of songs but users has different entitlements to listen to songs based on subscription. I still want the user to search for all songs but only streamble songs for their subscription should return first in the response. Should I use facets for that?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:52 PM