View | Details | Raw Unified | Return to bug 19502
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (+9 lines)
Lines 399-404 sub json2marc { Link Here
399
    return $marc;
399
    return $marc;
400
}
400
}
401
401
402
=head2 max_result_window
403
404
Returns the maximum number of results that can be fetched
405
406
This directly requests Elasticsearch for the setting index.max_result_window (or
407
the default value for this setting in case it is not set)
408
409
=cut
410
402
sub max_result_window {
411
sub max_result_window {
403
    my ($self) = @_;
412
    my ($self) = @_;
404
413
(-)a/Koha/SearchEngine/Zebra/Search.pm (-1 / +8 lines)
Lines 110-115 sub search_auth_compat { Link Here
110
    C4::AuthoritiesMarc::SearchAuthorities(@params);
110
    C4::AuthoritiesMarc::SearchAuthorities(@params);
111
}
111
}
112
112
113
=head2 max_result_window
114
115
Returns the maximum number of results that can be fetched
116
117
Zebra does not have such a limit, so it always returns undef
118
119
=cut
120
113
sub max_result_window { undef }
121
sub max_result_window { undef }
114
122
115
1;
123
1;
116
- 

Return to bug 19502