#community-help

Discussion on Curations on Typesense Cloud

TLDR Ryan had questions about curations related to filters on Typesense Cloud. Jason offered solutions, including updating to an RC build for filtered curations and checking filter application settings for pinned items.

Powered by Struct AI
+12
8
10mo
Solved
Join the chat
Dec 01, 2022 (10 months ago)
Ryan
Photo of md5-9e2795778b6270d8769b465d2aa41df2
Ryan
12:01 AM
👋 Hope this is the right place to ask quick questions. Two related to curation on Typesense Cloud:
1. Any way to set up curations that depend on filters, not just the search query? Use case: I am submitting multiple searches via multi_search endpoint, and I’d like curation to only apply to one of those searches.
2. If I set up a curation from the UI where I pin an item and also apply a filter, the pinned document is not at the top of the results. If I remove the filter, pinning works as expected. Is this behavior expected?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
12:15 AM
Ryan

1. We added the ability to curate by filter_by in the most recent RC build of 0.24. We can upgrade you to this build if you can DM me your cluster ID.

2. Could you make sure that you haven’t enabled the “Filter curated results” option for the override? That’s what controls this behavior (whether filter_by should be applied to pinned items or not)
Ryan
Photo of md5-9e2795778b6270d8769b465d2aa41df2
Ryan
12:20 AM
1. Awesome! I’ll DM you.
2. I checked “Apply Filters to Curated Items” in the UI and updated the override, but the pinned document isn’t at the top still. It’s result #11.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
12:21 AM
You want Uncheck “Apply Filters to Curated Items”
Ryan
Photo of md5-9e2795778b6270d8769b465d2aa41df2
Ryan
12:23 AM
Yeah, doesn’t seem to make a difference whether it’s enabled or not. For more context, the filter does not apply to the pinned item so it should appear in the results either way.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
12:24 AM
Oh then I misunderstood the issue…

May I know which position you’ve pinned the item at?
12:35
Jason
12:35 AM
For posterity: 0.24.0.rcn37 fixes issue #2
+11
Ryan
Photo of md5-9e2795778b6270d8769b465d2aa41df2
Ryan
12:39 AM
Thanks Jason for all the help!
+11