The docs for Range give this scary warning: “If you use
Range on a collection containing many documents, there is a chance that evaluating the range could exceed the transaction time limit of 30 seconds.”
what order of magnitude is many in this context?
trying to decide if its alright to filter docs in an index by their
ts field using
Range , or whether another approach would avoid timeouts as the number of docs in the index grows
I’d say the number of docs that
Range would be filtering in my app would grow by no more than
100,000 per year
at what point would I expect to have timeout problems while filtering them with
Range ? what would be some steps to mitigate that? Should I use a different function like
Filter to get all documents after a given timestamp?