We're adding "AND" searching to the advanced search later this year. Right now you should just search for either and then loop through the results on your end. It's less than ideal, I know.
I've been having some trouble getting the limelm.pkey.advancedSearch web API method to work the way I want it too. If I try to add multiple feature_name/feature_value arguments, then it searches for keys that have one feature OR the other, but what I want to do is search for keys that have ALL of the features.
For example, if I do an advanced search with the following arguments:
feature_name[]=name&feature_value[]=ben&feature_name=email&feature_value=ben@gmail.com
Then the result will be everything that has either the name ben OR the email ben@gmail.com, but what I want is everything that has BOTH the name ben AND the email ben@gmail.com. Is this possible?
Thanks!
We're adding "AND" searching to the advanced search later this year. Right now you should just search for either and then loop through the results on your end. It's less than ideal, I know.
Alright. Thanks for the heads up.
We've just added this. See the "feature_use_or" parameter: https://wyday.com/limelm/help/api/limelm.pkey.advancedSearch/