Bugzilla – Attachment 63368 Details for
Bug 18571
koha-conf.xml should include ES entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18571: Add default ES configuration to koha-conf-site.xml.in
Bug-18571-Add-default-ES-configuration-to-koha-con.patch (text/plain), 1.72 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-05-10 19:12:41 UTC
(
hide
)
Description:
Bug 18571: Add default ES configuration to koha-conf-site.xml.in
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-05-10 19:12:41 UTC
Size:
1.72 KB
patch
obsolete
>From 0a5dc86b7f2af0059c8fb582ee37a29dfa717f0a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 10 May 2017 16:04:36 -0300 >Subject: [PATCH] Bug 18571: Add default ES configuration to > koha-conf-site.xml.in > >This patch adds a default configuration entry for elasticsearch. It will >add localhost:9200 to the server subsection, and koha_instance (replacing instance >for the corresponding instance name) for the namespace. > >To test: >- Apply the patch >- Copy the file to the /etc/koha dir: > $ sudo cp kohaclone/debian/templates/koha-conf-site.xml.in /etc/koha >- Create a new instance: > $ sudo koha-create --create-db test >=> SUCCESS: /etc/koha/sites/test/koha-conf.xml includes the mentioned section: > > <elasticsearch> > <server>localhost:9200</server> > <index_name>koha_test</index_name> > </elasticsearch> > >- Sign off :-D > >Note: As the use of ES is syspref driven, this default entry doesn't have any use >until ES is installed and SearchEngine set to Elasticsearch. So it doesn't hurt >but will help end users test the ES integration. Advanced users will take care of >this config entry manually (pointing to external servers/clusters, etc). >--- > debian/templates/koha-conf-site.xml.in | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in >index 2add4aa..8e8204f 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/debian/templates/koha-conf-site.xml.in >@@ -322,5 +322,10 @@ __END_SRU_PUBLICSERVER__ > <plack_max_requests>50</plack_max_requests> > <plack_workers>2</plack_workers> > >+ <elasticsearch> >+ <server>localhost:9200</server> >+ <index_name>koha___KOHASITE__</index_name> >+ </elasticsearch> >+ > </config> > </yazgfs> >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18571
:
63368
|
63444
|
63482