Koha-clms/Koha/SearchEngine
Tomas Cohen Arazi f57c3b36ea Bug 19542: Add a check for ES configuration health
This patch adds a new statuc function to Koha::SearchEngine::ElasticSearch
which is instended to replace most of get_elasticsearch_params. This function
reads the configuration from C4::Context->config('elasticsearch') and raises
relevant exceptions when mandatory entries are missing.

Its behaviour is covered by tests.

To test:
- Run:
  $ kshell
 k$ prove t/Koha/SearchEngine/Elasticsearch.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-12-11 14:30:42 -03:00
..
Elasticsearch Bug 19559: Add '-' to list of characters we don't split search terms on 2017-11-26 12:59:46 -03:00
Zebra Bug 16660: (followup) Unit tests 2017-10-27 14:09:02 -03:00
Elasticsearch.pm Bug 19542: Add a check for ES configuration health 2017-12-11 14:30:42 -03:00
QueryBuilder.pm Bug 12478: allow more granular sorting configuration 2016-04-26 20:20:08 +00:00
Search.pm Bug 9988: Add extract_biblionumber to Koha/SearchEngine 2017-04-13 08:53:46 -04:00