Post

2 followers Follow
0
Avatar

"contains" vs "contains_any" for single target

Hi there.

I experienced something unexpected with these two queries:

interaction.content contains "brandname" AND twitter.user.location contains_any "amsterdam"

interaction.content contains "brandname" AND twitter.user.location contains "amsterdam"

The first query returned a lot more interactions. This made me wonder how this works. The only difference is the "contains_any" phrase. Why does this broaden the scope while there is just one keyword there?

I'd love to learn!

C-FLux

Please sign in to leave a comment.

1 comment

0
Avatar

These two queries should return exactly the same results. Do you have any examples of interactions that were received by one stream, but not the other?

Jason D. 0 votes
Comment actions Permalink