Bug 36726 - Add invalid ISBN to Elasticsearch index mappings
Summary: Add invalid ISBN to Elasticsearch index mappings
Status: RESOLVED DUPLICATE of bug 36574
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 05:11 UTC by Aleisha Amohia
Modified: 2024-04-30 22:49 UTC (History)
1 user (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 Aleisha Amohia 2024-04-30 05:11:36 UTC
Can currently search on the isbn with the 020$a mapping

It would be useful to have another index on the invalid-isbn mapping to the 020$z only https://www.loc.gov/marc/bibliographic/bd020.html
Comment 1 Janusz Kaczmarek 2024-04-30 12:14:43 UTC
Aleisha, please, cf. bug 36574.  The plan discussed during Hackfest with Nick, Katrin, ans Sonia (for UNIMARC) is as follows:

1. Add a second index for all ISBNs, isbn-all (and NOT to add one only for cancelled ones--we have discussed also this idea).  This gives one already the possibility to perform a general search (i.e. by keyword) with a cancelled ISBN.  This is done in the bug 36574.

2. Add a system preference to be able to decide if an ISBN-search would be performed only in valid ISBNs ($a) (isbn search field) or all ISBNs ($a + $z) (isbn-all search field).  This is to be done.  (We plan to do this in within a month.) 

An analogous approach could be used also for ISSNs (bug 36727), possibly with the same system preference.
Comment 2 Janusz Kaczmarek 2024-04-30 12:14:59 UTC

*** This bug has been marked as a duplicate of bug 36574 ***
Comment 3 Aleisha Amohia 2024-04-30 22:49:03 UTC
Cool thank you!