Bug 22705: Change default value of cxn_pool to 'Static'
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 15 May 2019 06:41:01 +0000 (08:41 +0200)
committerroot <root@3a587d3cf21c>
Thu, 23 May 2019 14:41:57 +0000 (14:41 +0000)
commit9532a3edeacd8fb3df67e8a01ed4e89069ffc017
treef8a6500c63abb7fadd1d84b3a0d4459b132badd2
parentae2f21e74dc68c305d88ba26f60282550e3c448b
Bug 22705: Change default value of cxn_pool to 'Static'

'Static' is the default value of Search::Elasticsearch and for a good
reason : it works in most cases, unlike the 'Sniff' option

To test:
1 - Apply patch
2 - Edit koha-conf.xml
3 - Add '<cxn_pool>Static</cxn_pool>' to the elasticsearch stanza
4 - Restart all the things!
5 - Reindex ES, it works
6 - Set SearchEngine to ES, try searching
7 - It works!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm
etc/koha-conf.xml