]> git.koha-community.org Git - koha.git/commit
Bug 24823: Remove unused parameters
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Thu, 12 Mar 2020 10:52:18 +0000 (11:52 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:43:30 +0000 (11:43 +0100)
commitd9bfbefaaf72f7827279204f5867cdcfcb0ab16d
tree4dbbb91e8b61f98ee4d63c0d5c4940b7c50879d6
parent419d158c7f4c3034c332e4ab6e8d4e3b14f19c5b
Bug 24823: Remove unused parameters

Remove unused Elasticsearch parameters 'key_prefix' and 'request_timeout'.
Refactor so that get_elasticsearch_params only returns parameters used
by Search::Elasticsearch, add class accessor for index_name.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch.pm
Koha/SearchEngine/Elasticsearch/Browse.pm
Koha/SearchEngine/Elasticsearch/Indexer.pm
Koha/SearchEngine/Elasticsearch/Search.pm
t/Koha/SearchEngine/Elasticsearch.t
t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t
t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t