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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 May 2019 19:41:28 +0000 (20:41 +0100)
commit022b696057d8a83271744b5f1b08d00bd3b53669
tree60d0aaa55f7f46734248282e2ac891382f4c2add
parent79c2222e60363946a584ad3c46e86253283864e8
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>
(cherry picked from commit 9532a3edeacd8fb3df67e8a01ed4e89069ffc017)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch.pm
etc/koha-conf.xml