Hacker News new | ask | show | jobs
by winrid 998 days 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.

1 comments

Oh 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.