Bug 24129

Summary: Add ability to configure some search fields to not autotruncate
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: fridolin.somers, mathsabypro, nick
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25051
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 2019-11-27 13:52:57 UTC
To Test:
- Set QueryAutoTruncate to Automatically
- Set search engine to Zebra
- search for sn:1
- Confirm you only get biblionumber 1 in your results
- Set search engine to Elastic
- search for sn:1
- confirm you get bibs 1, 10, 11, 100, etc

Zebra apparently knows to ignore autotruncate for some instances. We should at least maintain that behavior. It would probably be good to go a step further and make it configurable per index in our search engine config.
Comment 1 Fridolin Somers 2019-12-20 07:32:04 UTC
That would be great indeed.
Same issue with author fields that need no truncation (nor stemming).
When you search for first name "Jo" you don't want Joan, Joe...
Comment 2 Katrin Fischer 2023-10-27 10:27:46 UTC

*** This bug has been marked as a duplicate of bug 32707 ***