[Koha-bugs] [Bug 11910] New: Adding a zebra index should be a configuration change.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Mar 8 00:09:54 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11910
Bug ID: 11910
Summary: Adding a zebra index should be a configuration change.
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching
Assignee: gmcharlt at gmail.com
Reporter: bartonski at gmail.com
QA Contact: testopia at bugs.koha-community.org
There are several web pages documenting how to add a zebra index to koha, e.g.
http://wiki.koha-community.org/wiki/MRenvoize/zebra
Unfortunately, these changes must be made either to configuration files which
are part of the Koha distribution (e.g. bib1.att, record.abs, ccl.properties
and pqf.properties.) or to C4::Search.pm. As such, adding zebra indexes at a
package site risks losing modifications upon upgrade.
I suggest that the files
- bib1.att
- record.abs
- ccl.properties
- pqf.properties
As well as any files required for DOM indexing be placed in a configuration
directory, e.g. /etc/koha/sites/* or $HOME/koha-dev/etc.
In order to be searchable, the index name must be added to @indexes in
C4::Search.pm::getIndexes().
At the very least, there should be a way of adding extra indexes to the
arrayref returned by getIndexes() without editing source code.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list