File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
lib/Catmandu/Store/OpenSearch Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
Revision history for Catmandu::Store::OpenSearch
2
2
3
3
{{$NEXT}}
4
+ - forgot to include search argument size=$limit
4
5
5
6
0.01 2024-07-03 09:23:10 CEST
6
7
- first release
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ sub BUILD {
35
35
sub create_index ($self ) {
36
36
my $index_api = $self -> store-> os-> index ;
37
37
my $res = $index_api -> exists (index => $self -> index );
38
-
38
+ use Data::Dumper; say Dumper( $res );
39
39
if ($res -> code() eq " 200" ) {
40
40
# all ok
41
41
} elsif ($res -> code eq " 404" ) {
@@ -225,6 +225,7 @@ sub search ($self, %args) {
225
225
226
226
my %os_args = (%args , index => $self -> index , track_total_hits => " true" );
227
227
$os_args {from } = $start if $start ;
228
+ $os_args {size } = $limit ;
228
229
229
230
my $res = $self -> store-> os-> search-> search(%os_args );
230
231
if ($res -> code ne " 200" ) {
You can’t perform that action at this time.
0 commit comments