[Bug 27515] New: Search for both cases
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27515 Bug ID: 27515 Summary: Search for both cases Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: koha-bugs@lists.koha-community.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org When searching for the book "The Sawdust Dream", if you search for "sawdust dream", you get the item in the results. When you search for "sawdust dreams", you get nothing. It would be great if Koha would check for singular iterations of words used. -- 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=27515 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barbara.johnson@bedfordtx.g | |ov --- Comment #1 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- Agreed -- 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=27515 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I believe the Stemming feature with Zebra should already take care of this. Is it active in your instance and have you tried some searches? -- 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=27515 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Search for both cases |Search for singular/plural | |form --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- A note here: not all languages are as lucky as English where it's about added s most of the time :) -- 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=27515 --- Comment #4 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Katrin Fischer from comment #2)
I believe the Stemming feature with Zebra should already take care of this. Is it active in your instance and have you tried some searches?
We are using ElasticSearch, not Zebra. I have no understanding of the inner-workings of all of this, but as far as my knowledge goes, this doesn't apply. Or am I wrong? -- 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=27515 --- Comment #5 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Katrin Fischer from comment #3)
A note here: not all languages are as lucky as English where it's about added s most of the time :)
Even so, this would be a step in the right direction. A rule applied for specific languages that would improve searching. -- 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=27515 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Christopher, as I said, I think the stemming feature already does this. Please try it! -- 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=27515 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Search for singular/plural |Elasticsearch: search for |form |singular/plural form / | |stemming Component|Searching |Searching - Elasticsearch QA Contact|testopia@bugs.koha-communit | |y.org | --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think it doesn't apply for Elasticsearch, but not completely sure. Changing component and adding a hint to the description. -- 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=27515 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #8 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #7)
I think it doesn't apply for Elasticsearch, but not completely sure. Changing component and adding a hint to the description.
Yeah at a glance client-side stemming in Koha wasn't implemented for Elasticsearch. It looks like Elasticsearch can be configured to use its own stemmer token filters though. -- 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=27515 Margaret Hade <margaret@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |margaret@bywatersolutions.c | |om -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27515 Patrick Robitaille <patrick.robitaille@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.robitaille@collecto | |.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27515 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #9 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I don't know if this can help anyone. We use snowball_french as stemmer. It works really well (with some exceptions). https://snowballstem.org/ In index_config.yaml, under analyzer_standard, there is snowball_french under the filters analyzer_standard: tokenizer: icu_tokenizer filter: - icu_folding - snowball_french and under filter (before char_filter), there is snowball_french filter: snowball_french: type: snowball language: french -- 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=27515 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #10 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- We have used similar for some libraries, but many libraries finds it broadens the search too much: analyzer_standard: tokenizer: icu_tokenizer filter: - icu_folding - english_stemmer - english_possessive_stemme ... filter: english_stemmer: type: stemmer language: english english_possessive_stemmer: type: stemmer language: possessive_english -- 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=27515 Dani Elder <danielle.elder@law.utexas.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danielle.elder@law.utexas.e | |du --- Comment #11 from Dani Elder <danielle.elder@law.utexas.edu> --- I'm surprised more libraries are not affected by this. This really affects a lot of searches and users tend to give up before checking if it could be a plural or using a wildcard character. -- 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=27515 Mathieu Saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com --- Comment #12 from Mathieu Saby <mathsabypro@gmail.com> --- It's 2026, we talk to AI every day, and I think librarians and users expect a catalog to demonstrate a minimum level of "intelligence", at least in terms of handling plurals, typos, etc. Would it be possible for users to have a checkbox to enable or disable this search extension? -- 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