Hello
I have a collection named Projects, with an integer field Details.Situation. I was performing queries using the find operator, but, since we needed to improve our search mechanisms, we’re trying to migrate to Atlas Search instead.
One of the remaining problems, which I didn’t figure out how to solve it, is how to perform the query “Details.Situation”: { “$in”: [ 0, 1, 3, 5, 6] } in the $search pipeline.
I’ve already tried to create the index as number, and string data type (with lucene.keyword analyzers)
Does anyone have the idea how to perform this query?
About converting this field, this collection contains 25M objects, so, I’d prefer to avoid it…
Thanks for your attention
Jeferson Luis Soares