[Bug 33139] New: New facetable boolean Elasticsearch field 'has-eresource'.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33139 Bug ID: 33139 Summary: New facetable boolean Elasticsearch field 'has-eresource'. Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: new feature Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: andreas.jonsson@kreablo.se We would like to have a facetable boolean field in the Elasticsearch index to quickly filter records that have a link to an electronic resource in 856$u. The facets should have labels that makes the purpose clear. We can use "Digitally available" and "Only in print" for the negative. -- 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=33139 --- Comment #1 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 147769 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147769&action=edit Bug 33139 Added "has e-resource" facet for Elasticsearch -- 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=33139 --- Comment #2 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 147770 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147770&action=edit Bug 33139 Map boolean field has-eresource to MARC21 856$u -- 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=33139 Andreas Jonsson <andreas.jonsson@kreablo.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #147770|0 |1 is obsolete| | --- Comment #3 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 147771 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147771&action=edit Bug 33139 Map boolean field has-eresource to MARC21 856$u Sponsored-by: VTI, Statens väg- och transportforskningsinstitut -- 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=33139 Andreas Jonsson <andreas.jonsson@kreablo.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #147771|0 |1 is obsolete| | --- Comment #4 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 147772 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147772&action=edit Bug 33139 Map boolean field has-eresource to MARC21 856$u Sponsored-by: VTI, Statens väg- och transportforskningsinstitut -- 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=33139 Andreas Jonsson <andreas.jonsson@kreablo.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=33139 Andreas Jonsson <andreas.jonsson@kreablo.se> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=33140 -- 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=33139 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 856 can hold a lot of types of e-resources. Some might only be used for scans of TOCs or a front cover scan. I feel like this might be more useful if also the indicator could be taken into account: https://www.loc.gov/marc/bibliographic/bd856.html It looks like second indicator 0 or empty (and maybe 3 and 4) could be useful and would not hurt libraries not setting it. -- 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=33139 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #6 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #5)
856 can hold a lot of types of e-resources. Some might only be used for scans of TOCs or a front cover scan.
Yeah there can be a lot of links in 856$u that are not really e-resources so I'm not sure about this one... -- 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=33139 --- Comment #7 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Currently indicators cannot be specified in the field mappings. We should specify some syntax for doing this, though. Maybe: has-eresource: label: has-eresource mandatory: ~ mappings: - facet: 1 marc_field: 856[14,]u marc_type: marc21 sort: ~ suggestible: '' - facet: 1 marc_field: 856[7,02]u marc_type: marc21 sort: ~ suggestible: '' opac: 1 staff_client: 1 type: boolean Or: has-eresource: label: has-eresource mandatory: ~ mappings: - facet: 1 marc_field: 856u indicator1: "14" marc_type: marc21 sort: ~ suggestible: '' - facet: 1 marc_field: 856u indicator1: "7" indicator2: "02" marc_type: marc21 sort: ~ suggestible: '' opac: 1 staff_client: 1 type: boolean But this should be a separate issue. -- 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=33139 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |lucas@bywatersolutions.com --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- No longer applies cleanly in current master. -- 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