[Bug 23918] New: search results incorrect for multiple vowel words
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 Bug ID: 23918 Summary: search results incorrect for multiple vowel words Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: bernard.scaife@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org On a debian Koha package install without any zebra modifications, we observe searching for words with double vowels is returning odd results. eg on https://lst.koha-ptfs.eu/cgi-bin/koha/opac-main.pl on Koha 18.1110000 food = 24 results foood = 22 results Foood (with 3 consecutive letter o's) should not return results. Also observed on other package install examples. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It could be that oo is reduced to o in the Zebra mapping (I had something similar happen with i ii iii, but haven't checked for ooo), so you actually end up with food. Depending on your settings (fuzzy search and similar) this might also be expected, as those are thought to catch simple spelling errors. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #2 from Bernard <bernard.scaife@ptfs-europe.com> --- I don't think it is fuzzy search settings. QueryFuzzy is set to "Don't try". Which file in the zebra mapping could it be so I can check? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think it's etc/zebradb/etc/word-phrase-utf.chr -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #4 from Bernard <bernard.scaife@ptfs-europe.com> --- Thanks. I can't see anything in that file that would map 1 lowercase letter o to 2 (or 2 to 3). Our file is like this: https://github.com/Koha-Community/Koha/blob/18.11.x/etc/zebradb/etc/word-phr... Any idea which line might be causing this to happen? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Bernard from comment #4)
Thanks. I can't see anything in that file that would map 1 lowercase letter o to 2 (or 2 to 3). Our file is like this: https://github.com/Koha-Community/Koha/blob/18.11.x/etc/zebradb/etc/word- phrase-utf.chr Any idea which line might be causing this to happen?
My theory is, that the combination of those is doing it: equivalent ō(oo) map ō o I could be wrong :) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|18.11 |master Summary|search results incorrect |Search results incorrect |for multiple vowel words |for multiple vowel words -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #6 from Bernard <bernard.scaife@ptfs-europe.com> --- You were right! Commenting out equivalent ō(oo) did the trick for that example. Unfortunately, there may be similar problems for other vowel combinations. eg aa ("aachen" brings up "aachen" and "achen") I am assuming equivalent ā(aa) might be the one to comment out for that, but of course it means those diacritics are not properly mapped then if they should ever genuinely come up. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Bernard from comment #6)
You were right! Commenting out equivalent ō(oo) did the trick for that example.
Unfortunately, there may be similar problems for other vowel combinations. eg aa ("aachen" brings up "aachen" and "achen")
I am assuming equivalent ā(aa)
might be the one to comment out for that, but of course it means those diacritics are not properly mapped then if they should ever genuinely come up.
A library reported this to us and we decided together that we won't change it... too worried about side effects for other searches, especially if you have records in multiple languages where these might appear... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Should we mark this WONTFIX for now? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23918 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org