Bugzilla – Attachment 76372 Details for
Bug 19502
Result sets limited to 10000
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19502: Add POD for max_result_window
Bug-19502-Add-POD-for-maxresultwindow.patch (text/plain), 1.43 KB, created by
Julian Maurice
on 2018-06-25 12:15:27 UTC
(
hide
)
Description:
Bug 19502: Add POD for max_result_window
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-06-25 12:15:27 UTC
Size:
1.43 KB
patch
obsolete
>From d92e0e805c669c2f47fc591c82aa2e2278fb5764 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 25 Jun 2018 14:14:43 +0200 >Subject: [PATCH] Bug 19502: Add POD for max_result_window > >--- > Koha/SearchEngine/Elasticsearch/Search.pm | 9 +++++++++ > Koha/SearchEngine/Zebra/Search.pm | 8 ++++++++ > 2 files changed, 17 insertions(+) > >diff --git a/Koha/SearchEngine/Elasticsearch/Search.pm b/Koha/SearchEngine/Elasticsearch/Search.pm >index 6b2f2a926a..a1598d795c 100644 >--- a/Koha/SearchEngine/Elasticsearch/Search.pm >+++ b/Koha/SearchEngine/Elasticsearch/Search.pm >@@ -399,6 +399,15 @@ sub json2marc { > return $marc; > } > >+=head2 max_result_window >+ >+Returns the maximum number of results that can be fetched >+ >+This directly requests Elasticsearch for the setting index.max_result_window (or >+the default value for this setting in case it is not set) >+ >+=cut >+ > sub max_result_window { > my ($self) = @_; > >diff --git a/Koha/SearchEngine/Zebra/Search.pm b/Koha/SearchEngine/Zebra/Search.pm >index 45c050cfed..576b9f59c2 100644 >--- a/Koha/SearchEngine/Zebra/Search.pm >+++ b/Koha/SearchEngine/Zebra/Search.pm >@@ -110,6 +110,14 @@ sub search_auth_compat { > C4::AuthoritiesMarc::SearchAuthorities(@params); > } > >+=head2 max_result_window >+ >+Returns the maximum number of results that can be fetched >+ >+Zebra does not have such a limit, so it always returns undef >+ >+=cut >+ > sub max_result_window { undef } > > 1; >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19502
:
73020
|
73024
|
74587
|
75816
|
76371
|
76372
|
76788
|
76789
|
76790
|
76791
|
76792
|
76794
|
76795
|
76796
|
76798
|
76799