]> git.koha-community.org Git - koha.git/commit
Bug 24552: Be compatible with Search::Elasticsearch 6.00
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 31 Jan 2020 10:13:47 +0000 (11:13 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 5 Mar 2020 12:57:35 +0000 (12:57 +0000)
commit33f122621adcf94ecdbf28dad9a1017d6f9d5c79
treec941e6cf4f4ccb526ead219f68bbd9d7b545f0c8
parent98c53cd06490ca0ae2cf1c96601ed35365e5b42a
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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch.pm