We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa16e5 commit 82eb9e2Copy full SHA for 82eb9e2
bin/favorite.pl
@@ -189,10 +189,10 @@ ()
189
my $files = $es->scroll(
190
scroll => '15s',
191
body => {
192
- query => { term => { distribution => $dist } } _source =>
193
- false,
194
- size => 500,
195
- sort => '_doc',
+ query => { term => { distribution => $dist } },
+ _source => false,
+ size => 500,
+ sort => '_doc',
196
},
197
);
198
@@ -203,7 +203,7 @@ ()
203
log_debug {"Updating file id $id with fav_count $cnt"};
204
205
$bulk->update( {
206
- id => $file->{_id};
+ id => $file->{_id},
207
doc => { dist_fav_count => $cnt },
208
} );
209
}
0 commit comments