[Koha-bugs] [Bug 19604] Elasticsearch Fixes for build_authorities_query for auth searching
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 16 13:33:53 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19604
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72807|0 |1
is obsolete| |
Attachment #72808|0 |1
is obsolete| |
--- Comment #19 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 76977
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76977&action=edit
Bug 19604: Elasticsearch Fixes for build_authorities_query for auth searching
To test:
1 - Do some authority searches in Zebra
2 - Switch to ES and repeat, results will vary and some may fail
3 - Apply patch and dependencies
4 - Reindex ES
5 - Repeat searches, they should suceed and results should be similar to
Zebra
6 - Slight differences are okay, but results should (mostly) meet
expectations
A few notes:
We add a 'normalizer' to ensure we get a single token from the heading
indexes, this makes 'starts with' work as expcted
We switch to 'AND' for fields searched from cataloging editor - this
matches Zebra results
We force the '__sort' fields for sorting - if sorting looks wrong try
reducing the heading field to a single subfield - this will need to be
addressed on a future bug (multiple subfields create an array, ES sorts
those randomly)
Signed-off-by: Nicolas Legrand <nicolas.legrand at bulac.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list