[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
Thu Jun 25 21:03:07 CEST 2020


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

--- Comment #4 from Heather <heather_hernandez at nps.gov> ---
Replying to myself to note that my confusion is cleared up--was able to follow
test plan through step 6.  Still working on it...

(In reply to Heather from comment #3)
> Hi!
> 
> I was unable to recreate the problem in my sandbox.  In my sandbox (which
> Nick made sure satisfied step 1--thank you, Nick!) I followed step 2,
> changing those two sysprefs from "Don't" to "Do," but then when trying step
> 3 with 'Search entire record' selected for the search term:
> fiction
> I do get results.  I also get authority record results with all four
> authority record search options when searching:
> rowling
> 
> Am I doing something wrong to recreate the problem?
> 
> Thanks!  Cheerio!
> h2
> 
> (In reply to Nick Clemens from comment #2)
> > Created attachment 106247 [details] [review] [review]
> > 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!

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


More information about the Koha-bugs mailing list