[Koha-bugs] [Bug 25864] Case sensitivity breaks searching of some fields in ES5

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 3 11:22:48 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25864

Alex Arnaud <alex.arnaud at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #106345|0                           |1
        is obsolete|                            |

--- Comment #8 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Created attachment 106492
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106492&action=edit
Bug 25864 - Lower case fields for searching

To recreate:
 1 - Have Koha using ES5 and Elasticsearch as search engine
 2 - Enable DumpTemplateVarsIntranet and DumpSearchQueryTemplate
 3 - Do a search in authorities using 'Search entire record' (abduction if
using sample db)
 4 - Note no results
 5 - View the page source and find 'search_query'
 6 - Note the uppercased fields
 7 - curl 'es:9200/koha_kohadev_authorities/data/417?pretty'
 8 - Note all fields lower-cased
 9 - Apply patch
10 - Repeat search
11 - It works!

Signed-off-by: Heather Hernandez <heather_hernandez at nps.gov>
Signed-off-by: Alex Arnaud <alex.arnaud at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list