]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 9 Apr 2020 19:38:43 +0000 (19:38 +0000)
commite5cf4065d11d850e89b614148be58f766638698d
treefebaec5efab9227b16fd4158f886db50fd8fec91
parentc779db2d75d2808b8a4b36f53bf467ec8dd5a33d
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>
(cherry picked from commit a3143506b2edf7ffca185e650c18b89dc249423f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm