Bug 20628

Summary: Search result highlighting doesn't work for searches using CCL syntax including truncation/phrase etc.
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: maude.boudreau, noemie.labine
Version: 17.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2018-04-20 15:47:57 UTC
This specific issue may fall within the bounds of this larger bug:
Bug 11270 - Search Result highlighting should be refactored
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11270

Search terms are not highlighted in search results if the terms are truncated.

For example, the search kw:mold will show results with every instance of "mold" highlighted, even if it appears within a larger string like "molding."

But a search for kw:mold* or kw,rtrn:mold will not show any highlighting in the search results.
Comment 1 NoƩmie Labine 2022-09-12 15:42:50 UTC
Still valid in 21.05
Comment 2 Katrin Fischer 2023-10-01 22:39:35 UTC
It seems to break when using any 'qualifier' after the search index, like ',phr' or ',rtrn'.