in reply to Perl MongoDB Results and Version (batch_size??)

'_batch_size' => 101

Yes, see default size. You can set it in the options document after the pipeline array.

my $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 } } );
poj

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
    awesome mate, thanks a lot! that solved the issue! big ups!