Comma separated "or" search with CMS Filter

Hello Finsweet friends,

I have a use case where I’d like to use one (1) text input field to “or” search for several terms.

For example: let’s say I have a list of hotels, and that each item contains a description of the hotel’s surroundings. Ideally I’d like to be able to comma separate keywords, such as: “quiet, calm, serene”, and get a list of all hotels with at least one matching keyword in the description field.

I’ve been looking through the forum, but I couldn’t find a topic that touches on this.

As always happy for any thoughts,
Jacob

Hi @Jacob_B!,

This type of “fuzzy” search will be supported natively in Attributes V2, which is launching very soon! :rocket:

In the meantime, if the categories you’re searching through are independent, you could be able to achieve something similar using the match option natively.

Let me know if that works for you! :flexed_biceps:

Thanks a lot @Support-Pedro , I’ll have a look!

1 Like