Bug 36726

Summary: Add invalid ISBN to Elasticsearch index mappings
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P5 - low CC: januszop
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

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!