How to increase sort buffered data limit?

por | 28 febrero, 2018

db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes: })

256GB
> db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes: 268435456});
{ "was" : 33554432, "ok" : 1 }

db.employee.find(

{$text: { $search : "pedro mario gonzales lopez" } },
{ score : { $meta: "textScore" } })
.sort({

score: { $meta : "textScore" }

} )