Bug 24129 - Add ability to configure some search fields to not autotruncate
Summary: Add ability to configure some search fields to not autotruncate
Status: RESOLVED DUPLICATE of bug 32707
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-27 13:52 UTC by Andrew Fuerste-Henry
Modified: 2023-10-27 10:27 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:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***