Nick Clemens
ac593159a2
When using Zebra for searching, Koha performs a number of searches in order to improve relevancy. This means that even for 'wordlist' search, we perform a phrase search. When selecting 'Corporate-name' as an index, this expansion of the search causes errors and fails the search We can fix this for 'Corporate-name' searches by adding a phrase index To test: 1 - Edit koha-conf.xml and uncomment the zebra debug line and add 'request' to the list 2 - Restart all 3 - tail -f /var/log/koha/kohadev/zebra-output.log 4 - Edit a record to add a 110 field e.g. 'House plants' 5 - Enable syspref IntranetCatalogSearchPulldown 6 - Search for 'Corporate name' and term 'House plants' 7 - No results 8 - View the log, see 'ERROR' and full search terms listed 9 - Apply patch 10 - copy the zebra files to the production instance: cp etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml cp etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl 11 - restart all 12 - rebuild: sudo koha-rebuild-zebra -v -f kohadev 13 - Repeat search 14 - Success! Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
z3950 | ||
zebradb | ||
apache.conf | ||
koha-conf.xml | ||
koha-httpd.conf | ||
koha-worker.service | ||
log4perl.conf | ||
nginx.conf | ||
README.txt | ||
SIPconfig.xml |
Koha Configuration Files: The following files specify the base configuration for Koha ZOOM: * koha-httpd.conf In a debian system, this apache configuration file will be symlinked from /etc/apache2/sites-enabled Specify Koha's IP address with NameVirtualHost Set ServerName, etc * koha-production.xml * koha-testing.xml These are the production and testing configurations for zebrasrv and for Koha. The first part of each file specifies Zebra server names, indexing configuration files, and query language configurations. Koha configuration directives follow. * zebra-authorities.cfg * zebra-biblios.cfg