'Mongo Atlas Search - using range operator for an array of documents
I am using Mongo Atlas search feature and everything was fine until trying to query for range into a collection / array of documents and that did not worked by any means. After some failed tries I was lucky enough to find a possible answer in the docs.
Limitation You cannot use the range operator to query values stored in an array. Atlas Search cannot >index numeric or date values if they are part of an array.
My question and hope is that there is some fair workaround, also in respect to performance, because it might be that I have to filter out up to 500k of records and it is not an option to fetch them all on the server side.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
