4 ms·
no, that means you can sort on a max of 32 fields per sort request, like fieldOne, fieldTwo, fieldThree... There's no limit on number of sortable documents. Us
by winrid 3y ago
no, that means you can sort on a max of 32 fields per sort request, like fieldOne, fieldTwo, fieldThree...
There's no limit on number of sortable documents. Use an index to sort and it'll also be fast and use no extra memory. If you want to do an in memory sort there are memory limits, but you can also tell it to overflow to disk.
- maxbond 3y agoOh gotcha, thanks that makes sense. 32 did seem like a bizarrely low limit for how many documents you can sort, but as a number of fields it's plenty. I've removed that part of my comment. Appreciate the correction.