Gravatar for shirazi@rdacorp.com

Question by aga, Nov 17, 2015 11:58 AM

Sitecore Search Rule: IN operator

Hi,

I'm trying to build a Coveo for Sitecore rule that matches a field value based on a list of strings (basically a big OR) something like the query below. I couldnt find an equivalent operator in Sitecore for this. Do we have one available?

@author==(bob,robert,rob)

Thanks

1 Reply
Gravatar for slangevin@coveo.com

Answer by Simon, Nov 20, 2015 11:24 AM

Hi,

There is currently no rules to do this out of the box, you will need to use custom rules: https://developers.coveo.com/display/public/SC201510/Creating+Custom+Filtering+Rule+Conditions+in+Sitecore

Now I saw your new post: https://answers.coveo.com/questions/5052/building-an-or-expression

So I guess you already went that way.

Regards,
Simon

Gravatar for shirazi@rdacorp.com

Comment by aga, Nov 20, 2015 11:36 AM

Hi Simon: yeah im going down that route but Im running into issues there too. Can you check if you have any clues why that might be failing?

Ask a question