Bug 19739: Add default ES configuration to koha-conf.xml

Bug 18571 added default ES configuration for packaging config.

This patch adds it to dev install in koha-conf.xml.
Database name is used in index_name to allow multiple installs.

Test plan :
- Run dev install
- Install ElasticSearch server and Koha deps
- Enable ElasticSearch in Koha
- Check indexing and searching works directly

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Fridolin Somers 2017-12-04 10:04:48 +01:00 committed by Nick Clemens
parent ad1802de54
commit 219e427f29
1 changed files with 5 additions and 0 deletions

View File

@ -153,6 +153,11 @@ __PAZPAR2_TOGGLE_XML_POST__
<plack_max_requests>50</plack_max_requests>
<plack_workers>2</plack_workers>
<elasticsearch>
<server>localhost:9200</server>
<index_name>koha___DB_NAME__</index_name>
</elasticsearch>
<interlibrary_loans>
<!-- Path to where Illbackends are located on the system
- This setting should normally not be touched -->