in reply to Perl MongoDB Results and Version (batch_size??)
Yes, see default size. You can set it in the options document after the pipeline array.
pojmy $all_collect = $collect->aggregate([ {'$group' => { '_id' => {_path => '$path' , _ip => '$IP', _time => '$TIME'}, '_count' => { '$sum' => 1}, '_docs' => { '$push' => '$_id' } } }, { '$match' => { '_count' => { '$gt' => 1} }} ], { 'cursor' => { 'batchSize' => 10000 } } );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl MongoDB Results and Version (batch_size??)
by maikelnight (Sexton) on Sep 22, 2018 at 13:09 UTC |