Hi! We've been using Typesense for almost 8 months...
# community-help
a
Hi! We've been using Typesense for almost 8 months, and it's incredible how many problems it solves! Now we're trying to tackle new challenges, and I have a question I haven't been able to solve by myself: Is it possible to match more than one word in curations using a search query rule? We're currently on version 27.1 on Typesense Cloud (we plan to update soon, but not just yet). Example: We have some documents with
promotions.status:active
, so: I want to create a curation that allows our users to search for words like "promotion", "sales", "discounts", or "hotsale", and then the curation should use the "Filter Documents" action with the filter
promotions.status:active
. However, we noticed that adding more than one word in the search query rule breaks the functionality. We tried separating them with commas, with spaces, and even using
"contains"
— but no luck. Is there a way to handle this?
f
You'll have to create one override for each word. Otherwise, Typesense will only fire the curation rule if it matches the query of "promotion, sales, discounts, hotsale"
1