Bug 1091 - Do a second search with shorter terms if there are no results found
Summary: Do a second search with shorter terms if there are no results found
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: master
Hardware: PC All
: P2 enhancement (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 06:59 UTC by Michael Hafen
Modified: 2023-06-08 22:26 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
proposed patches. (2.75 KB, patch)
2006-05-31 06:59 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-20 23:38:46 UTC


---- Reported by mdhafen@tech.washk12.org 2006-05-31 06:59:14 ----

One of my librarians asked for this.

If the opac search finds no results I added code to shorten all the search terms to four letters and try again.

Maybe someone else would like this too.



---- Additional Comments From mdhafen@tech.washk12.org 2006-05-31 06:59:30 ----

Created an attachment
proposed patches.





---- Additional Comments From jmf@liblime.com 2007-10-04 14:05:25 ----

neat idea, the search has changed in 3.0, but I'm open to something like this, I'll assign it to myself. Those librarians always have the best ideas :-)



--- Bug imported by chris@bigballofwax.co.nz 2010-05-20 23:38 UTC  ---

This bug was previously known as _bug_ 1091 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=1091
Imported an attachment (id=67)

Actual time not defined. Setting to 0.0
The original submitter of attachment 67 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 Katrin Fischer 2012-06-11 13:26:19 UTC
Attached patch is 'ancient' predates git and Zebra. I am marking it as obsolete, because a complete new implementation would be needed to add this feature to current Koha. Changing bug status back to new.
Comment 2 Katrin Fischer 2019-05-04 15:29:15 UTC
I wonder if this is still a desired feature. There are currently different approaches to help searches:
- Fuzzy 
- Stemming
- Auto truncation

Would shortening the terms (with auto-truncation) really work?
Comment 4 David Cook 2022-08-22 03:19:55 UTC
This is a very old enhancement request, and I can't see it working well in practice. 

Instead, I think an Edit Search like in Bug 22605 is a much more usable path forward.