]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 1 Apr 2020 22:08:47 +0000 (22:08 +0000)
commita3143506b2edf7ffca185e650c18b89dc249423f
tree1951b019af8cedd3056997f7a78151351708be3d
parent5d22e0b3a331e35b8f1e494bc366c1624c982cf8
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm