[Koha-bugs] [Bug 24559] Elasticsearch - add support for 'date' fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 26 03:31:35 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24559
--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 99626
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99626&action=edit
Bug 24559: Add 'year' type to Elasticsearch
When indexing fields like 260c or 008_/7-10 we need a way to format
these 'date' fields into years. Removing punctuation and coverting
unknown values to 0
To test:
1 - Edit some records to have dates of publication in 008 like
202u
2021
203u
2039
2 - Also add to title for all records a unique word like 'octoparrot'
3 - Search for 'octoparrot'
4 - Sort records by publication/copyrightdate
5 - Confirm sorting is not as expected
6 - Apply patch
7 - Set copydate to 'year' type
8 - Reindex
9 - Repeat search
10 - Confirm sorting works as expected
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list