[Bug 31687] New: Add see from and see also from tracings in Match index
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Bug ID: 31687 Summary: Add see from and see also from tracings in Match index Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com Some see from and see also from tracings are missing from the Match index. This means that if you search for a see from for a personal name, it will find it, but if you search for a see from for a topical term, it will not. I was comparing zebra's index mappings with ES's, and found that these were missing from ES's Match index. - 430(adfghklmnoprstvxyz) - 448(avxyz) - 450(abvxyz) - 451(avxyz) - 455(avxyz) - 530(adfghklmnoprstvxyz) - 548(avxyz) - 550(abvxyz) - 551(avxyz) - 555(avxyz) -- 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=31687 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 141383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141383&action=edit Sample records Some authority records with see from and see also from tracings Uniform title Chronological name Topical term Geographic name Genre/Form term -- 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=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |caroline.cyr-la-rose@inlibr |ity.org |o.com -- 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=31687 --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Created attachment 141384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141384&action=edit Bug 31687: Add see from and see also from tracings in Match index This patch adds see from and see also from terms for uniform title, chronological term, topical term, geographic name, and genre/form term to the Match index in Elasticsearch for MARC21. Previously, only see from/see also from for personal names, corporate names, and meeting names were indexed. To test: 1. Without patch, import attached authority records 1.1. Download attached records 1.2. Go to Tools > Stage MARC records for import 1.3. Click 'Browse' and choose the downloaded file 1.4. Click 'Upload file' 1.5. Choose Record type = Authority 1.6. Click 'Stage for import' 1.7. From the job details, click 'View batch' 1.8. Click 'Import this batch into the catalog' 2. Without patch, search for see from and see also from tracings 2.1. Go to Authorities 2.2. In the 'Default' drop-down menu, choose 'Uniform title' 2.3. Choose the 'Search all headings' tab 2.4. Enter the search term 'Five hundred' 2.5. Click 'Submit' or press 'Enter' --> No results 2.6. Redo the search for the following search terms Authority type Search term Should be found in Uniform title five hundred 430 Uniform title films préférés 530 Chronological term fifteenth 448 Chronological term middle ages 548 Topical term lalopathie 450 Topical term troubles communication 550 Geographic name cécropia 451 Geographic name canada francophone 551 Genre/Form term filmiques 455 Genre/Form term films 555 3. Apply patch 4. Delete index, reset mappings and reindex authorities (with command line, -a -d -r) 5. Redo the searches from step 2, there should now be results -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add see from and see also |Add see from and see also |from tracings in Match |from tracings in Match |index |index (Elasticsearch, | |MARC21) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds see release notes| |from and see also from | |terms for uniform title, | |chronological term, topical | |term, geographic name, and | |genre/form term to the | |Match index in | |Elasticsearch for MARC21. | |These will now be | |searchable in the | |Authorities module, by | |selecting the 'Search all | |headings' tab. | | | |Previously, | |only see from/see also from | |for personal names, | |corporate names, and | |meeting names were indexed | |and searchable this way. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=31689 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=31690 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141384|0 |1 is obsolete| | --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 141581 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141581&action=edit Bug 31687: Add see from and see also from tracings in Match index This patch adds see from and see also from terms for uniform title, chronological term, topical term, geographic name, and genre/form term to the Match index in Elasticsearch for MARC21. Previously, only see from/see also from for personal names, corporate names, and meeting names were indexed. To test: 1. Without patch, import attached authority records 1.1. Download attached records 1.2. Go to Tools > Stage MARC records for import 1.3. Click 'Browse' and choose the downloaded file 1.4. Click 'Upload file' 1.5. Choose Record type = Authority 1.6. Click 'Stage for import' 1.7. From the job details, click 'View batch' 1.8. Click 'Import this batch into the catalog' 2. Without patch, search for see from and see also from tracings 2.1. Go to Authorities 2.2. In the 'Default' drop-down menu, choose 'Uniform title' 2.3. Choose the 'Search all headings' tab 2.4. Enter the search term 'Five hundred' 2.5. Click 'Submit' or press 'Enter' --> No results 2.6. Redo the search for the following search terms Authority type Search term Should be found in Uniform title five hundred 430 Uniform title films préférés 530 Chronological term fifteenth 448 Chronological term middle ages 548 Topical term lalopathie 450 Topical term troubles communication 550 Geographic name cécropia 451 Geographic name canada francophone 551 Genre/Form term filmiques 455 Genre/Form term films 555 3. Apply patch 4. Delete index, reset mappings and reindex authorities (with command line, -a -d -r) 5. Redo the searches from step 2, there should now be results Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- Thanks Caroline for the clear test plan and example records - these made it so easy to test! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 --- Comment #5 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- (In reply to David Nind from comment #4)
Thanks Caroline for the clear test plan and example records - these made it so easy to test!
Thanks David! I'm always afraid my very long test plans will scare away people lol! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141581|0 |1 is obsolete| | --- Comment #6 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 142362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142362&action=edit Bug 31687: Add see from and see also from tracings in Match index This patch adds see from and see also from terms for uniform title, chronological term, topical term, geographic name, and genre/form term to the Match index in Elasticsearch for MARC21. Previously, only see from/see also from for personal names, corporate names, and meeting names were indexed. To test: 1. Without patch, import attached authority records 1.1. Download attached records 1.2. Go to Tools > Stage MARC records for import 1.3. Click 'Browse' and choose the downloaded file 1.4. Click 'Upload file' 1.5. Choose Record type = Authority 1.6. Click 'Stage for import' 1.7. From the job details, click 'View batch' 1.8. Click 'Import this batch into the catalog' 2. Without patch, search for see from and see also from tracings 2.1. Go to Authorities 2.2. In the 'Default' drop-down menu, choose 'Uniform title' 2.3. Choose the 'Search all headings' tab 2.4. Enter the search term 'Five hundred' 2.5. Click 'Submit' or press 'Enter' --> No results 2.6. Redo the search for the following search terms Authority type Search term Should be found in Uniform title five hundred 430 Uniform title films préférés 530 Chronological term fifteenth 448 Chronological term middle ages 548 Topical term lalopathie 450 Topical term troubles communication 550 Geographic name cécropia 451 Geographic name canada francophone 551 Genre/Form term filmiques 455 Genre/Form term films 555 3. Apply patch 4. Delete index, reset mappings and reindex authorities (with command line, -a -d -r) 5. Redo the searches from step 2, there should now be results Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 --- Comment #7 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 22.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31687 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |lucas@bywatersolutions.com Status|Pushed to master |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org