[Bug 5534] New: koha does not ignore punctuation when searching
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Summary: koha does not ignore punctuation when searching Change sponsored?: --- Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Searching AssignedTo: gmcharlt@gmail.com ReportedBy: nengard@gmail.com QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 When you're doing a search for a title like "Harrison's Internal Medicine" you can find it if you search for "harrison" or "harrison's" but not "harrisons" - the punctuation is required. This seems a bit odd since most search engines don't require that you enter the punctuation. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=2629 -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Ian Walls <ian.walls@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian.walls@bywatersolutions. | |com --- Comment #1 from Ian Walls <ian.walls@bywatersolutions.com> 2011-12-02 21:14:17 UTC --- Unfortunately, the Zebra charmap files do not have a command for mapping a character to 'null'. Right now, apostrophe is mapped to 'space', which serves to break up words. So searching for "harrison's internal" searches for three words: "harrison", "s" and "internal". We may be able to explicitly map "'s" to "s"... but then we'd need to do that for EVERY possible case where apostrophe is used.... ICU might fix this yeah? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Kyle M Hall <kyle.m.hall@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.m.hall@gmail.com --- Comment #2 from Kyle M Hall <kyle.m.hall@gmail.com> 2012-02-08 15:57:40 UTC --- Has anyone tried contacting Index Data about the inability to map a character to null? -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 wajasu <matted-34813@mypacks.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matted-34813@mypacks.net --- Comment #3 from wajasu <matted-34813@mypacks.net> --- Not sure if this applies. I was doing search testing even with fuzzy search. I tried "1000 things i love about" with no results, though the title was "1,000 things i love". I t only found "1,000 things i love". So comma's or other locale specific formatting in words that are all digits might be a similiar use case. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Rafa Saad <rafafernan@uol.com.br> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rafafernan@uol.com.br --- Comment #4 from Rafa Saad <rafafernan@uol.com.br> --- When we make a search for titles like "Você viu meu pai por aí?", that has a "?", we have results only with a search for "Você viu meu pai por aí" (without "?"). The same problem when the search term has "!". For dots or commas this problem doesn't occurs. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 --- Comment #5 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- (In reply to comment #4)
When we make a search for titles like "Você viu meu pai por aí?", that has a "?", we have results only with a search for "Você viu meu pai por aí" (without "?"). The same problem when the search term has "!". For dots or commas this problem doesn't occurs.
You will be glad to know that the search rewrite (which is already underway) will fix this particular issue. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |9234 -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 --- Comment #6 from Nicole C. Engard <nengard@gmail.com> --- I'm wondering if this also includes the ampersand (&) ? I'm having an issues with searching for a title that includes it - but wasn't sure if it was a new bug. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Isaac <isaacbrodsky@live.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isaacbrodsky@live.com --- Comment #7 from Isaac <isaacbrodsky@live.com> --- Just to add my two cents, a user could want to search for punctuation. (So searching for "C++" actually searches for "C", which is undesirable.) Is this intended? -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 JD@TeTakere <joanned@tetakere.org.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joanned@tetakere.org.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 kholt@roseville.ca.us changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kholt@roseville.ca.us --- Comment #8 from kholt@roseville.ca.us --- Having this problem with Xmen and X-men in our catalog (3 results versus 235). Actually X men and X-men gives same number of results so maybe that's the best we can do for now? -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 jdemuth@roseville.ca.us <jdemuth@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdemuth@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Nick Clemens <nick@quecheelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@quecheelibrary.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Christopher Brannon <cbrannon@cdalibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cbrannon@cdalibrary.org --- Comment #9 from Christopher Brannon <cbrannon@cdalibrary.org> --- We're seeing this when we do searches between the word "don't" and "dont". This is a real, ongoing problem. I'm wondering if there is anything that can be done outside of waiting for ElasticSearch? -- You are receiving this mail because: You are watching all bug changes. You are the QA Contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #10 from Tomás Cohen Arazi <tomascohen@gmail.com> --- We should fix this taking advantage of DOM: i.e. generating indexes for the strings with punctuation removed. It could be tricky in some scenarios, but it should work. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5534 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think also ICU could help/work here - I remember we tested both, mapping - to a space and to nothing, only thing that didn't seem possible is doing both at the same time. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org