[Koha-bugs] [Bug 21286] New: Advanced search for Corporate-name creates Zebra errors
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 30 03:52:27 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21286
Bug ID: 21286
Summary: Advanced search for Corporate-name creates Zebra
errors
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching - Zebra
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
If you're in the advanced search in the staff client, and if you're using the
QueryWeightFields system preference, and if you're searching with
"Corporate-name", you'll generate Zebra errors.
There are a few things contributing to this problem. One is that Corporate-name
is only indexed into the "word" register and not the "phrase" register. This
becomes a problem with QueryWeightFields, because of the last conditional block
in C4::Search::_build_weighted_query() which rewrites the search query to
include $index,ext,r1, which forces a search of the "phrase" register, which
causes Zebra to explode (when it doesn't use the 14=1 special attribute).
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list