Bugzilla – Attachment 98223 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.13 KB, created by
Julian Maurice
on 2020-01-31 10:17:21 UTC
(
hide
)
Description:
Bug 24552: Be compatible with Search::Elasticsearch 6.00
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2020-01-31 10:17:21 UTC
Size:
1.13 KB
patch
obsolete
>From f0024a0d9dc7b26e7576fd55dbbf2836e3ee6579 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 >--- > Koha/SearchEngine/Elasticsearch.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 7322f84178..2c6de034be 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -144,7 +144,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.20.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