Koha-clms/t/db_dependent/Koha/SearchEngine
Jonathan Druart cd0d647c61 Bug 29856: Make the ES config more flexible
I need to add a 'request_timeout' entry to the ES configuration to fix some timeout problems on the sandboxes.

Instead of hard coding this new option it seems preferable to be
flexible and allow different options to be passed from the config file.

Test plan:
Add to the $KOHA_CONF, inside the elasticsearch section
  <request_timeout>60</request_timeout>
Rebuild the ES index
  koha-elasticsearch --rebuild kohadev
Change the value of the timeout to 1
Rebuild the index
It should fail (with a quite bad error 'Bad response received when
submitting request to Elasticsearch')

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-01-12 21:26:26 -10:00
..
Elasticsearch Bug 28847: Remove diag statements 2021-10-25 15:58:01 +02:00
Zebra Bug 28847: Remove diag statements 2021-10-25 15:58:01 +02:00
Elasticsearch.t Bug 29856: Make the ES config more flexible 2022-01-12 21:26:26 -10:00
Indexer.t Bug 28931: Remove unused Koha::DateUtils from tests 2021-10-07 11:01:05 +02:00
Search.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00