Bugzilla – Attachment 100168 Details for
Bug 24552
Koha does not work with Search::Elasticsearch 6.00
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24552: Be compatible with Search::Elasticsearch 6.00
Bug-24552-Be-compatible-with-SearchElasticsearch-6.patch (text/plain), 1.23 KB, created by
Ere Maijala
on 2020-03-05 09:14:11 UTC
(
hide
)
Description:
Bug 24552: Be compatible with Search::Elasticsearch 6.00
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2020-03-05 09:14:11 UTC
Size:
1.23 KB
patch
obsolete
>From a7d2205f3cc0dabacfaa0c907dc174cfa1b98832 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 31 Jan 2020 11:13:47 +0100 >Subject: [PATCH] Bug 24552: Be compatible with Search::Elasticsearch 6.00 > >There is no need to specify the `client` param here because >'5_0::Direct' is the default value for Search::Elasticsearch 5.x and it >breaks when Search::Elasticsearch 6.x is installed > >Test plan: >1. Apply the patch >2. Make sure you have Search::Elasticsearch 5.x >3. Reload starman >4. Verify that search works >5. Install Search::Elasticsearch 6.x >6. Reload starman >7. Verify that search works > >Signed-off-by: Michal Denar <black23@gmail.com> >Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi> >--- > Koha/SearchEngine/Elasticsearch.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 579588a74f..85574cefc0 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -145,7 +145,6 @@ sub get_elasticsearch_params { > $es->{index_name} .= '_' . $self->index; > > $es->{key_prefix} = 'es_'; >- $es->{client} //= '5_0::Direct'; > $es->{cxn_pool} //= 'Static'; > $es->{request_timeout} //= 60; > >-- >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 24552
:
98223
|
98249
|
100168
|
100179