[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 Jun 26 17:47:40 CEST 2020


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

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

--- Comment #5 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 106345
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106345&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>

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


More information about the Koha-bugs mailing list