Hi,
I have a query that will return ~ 30k documents each of ~6k bytes ( if stringified ).
I am sorting the query, but have created an Index on that field, but the Cursor still returns the ''Sort operation used more than the maximum 33554432" error.
Here’s the Query…
cartCursor.forEach(cart => {
Carts.push(cart);
if ( Carts.length == batch ) { sendCarts() }
},e => {
console.log('end',e)
sendCarts();
});
Any ideas?
Peter