Probem with $contains #83
Unanswered
olivierbaudouin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have these requests :
{"$or":
[
{"quote":{"reference":{"$contains":["01"]}}},
{"article":{"reference":{"$contains":["01"]}}}
]
} // OK
{"$or":
[
{"quote":{"reference":{"$contains":["CR"]}}},
{"article":{"reference":{"$contains":["CR"]}}}
]
} // OK
{"$or":
[
{"quote":{"reference":{"$contains":["01","CR"]}}},
{"article":{"reference":{"$contains":["01","CR"]}}}
]
} // Not OK
This request should find lines with quote reference like "01" and article reference like "CR". It works with only "01" or only "CR", but not with both "01" and "CR" (returns nothing).
Any idea for this problem?
Beta Was this translation helpful? Give feedback.
All reactions