Troubleshooting OAI Sets: records matching criteria are not being included in harvests
Hi everyone, I hope you are doing well. I ´m currently working on configuring OAI Sets in Koha to expose our library records via the OAI-PMH protocol. However, I ´ve found out that some records that clearly meet the defined mappings/conditions for a specific set are not being included when harvesting or querying that set. Here are a few details about our setup: Koha version: 23.11.38 Set definition: OAI Sets mappings based on 952$8 952$0 952$7 I ´d like to know if there ´s a recommended way to validate the correct construction of these sets or debug why a record is being skipped. Specifically: Is there a way to check how Koha evaluates a specific record against the OAI set mappings before it gets exposed? Where should I look in the logs to find errors related to OAI set building or background jobs? Any advice, SQL queries to check the oai_sets / oai_sets_mappings tables against the records, or documentation links would be greatly appreciated. Thank you so much for your time and help! Best regards, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar
Hi again, Quick correction: I messed up the version number in my previous email! We are actually running Koha 22.11.38. Sorry for the mix-up! Best, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar El 2026-07-02 11:50, Paola Vanesa Cruciani via Koha escribió:
Hi everyone,
I hope you are doing well.
I ´m currently working on configuring OAI Sets in Koha to expose our library records via the OAI-PMH protocol.
However, I ´ve found out that some records that clearly meet the defined mappings/conditions for a specific set are not being included when harvesting or querying that set.
Here are a few details about our setup:
Koha version: 23.11.38
Set definition: OAI Sets mappings based on 952$8 952$0 952$7
I ´d like to know if there ´s a recommended way to validate the correct construction of these sets or debug why a record is being skipped. Specifically:
Is there a way to check how Koha evaluates a specific record against the OAI set mappings before it gets exposed?
Where should I look in the logs to find errors related to OAI set building or background jobs?
Any advice, SQL queries to check the oai_sets / oai_sets_mappings tables against the records, or documentation links would be greatly appreciated.
Thank you so much for your time and help!
Best regards, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar
_______________________________________________
Koha mailing list -- koha@lists.katipo.co.nz http://koha-community.org To unsubscribe send an email to koha-leave@lists.katipo.co.nz Unsubscribe:
Hi Paola, You can find a list of the records assigned to an OAI set in the oai_sets_biblios table. Make sure you have run the script to initialize the set after adding it. It will add the entries to the oai_sets_biblios table. The cron is not scheduled by default. New records can then later be added automatically by activating the OAI-PMH:AutoUpdateSets system preference. Often problems like this are easier to 'debug' in conversation - consider asking for help on https://chat.koha-community.org as well. Sharing a bit more information about what rules you have set up and what you think should be a match, might also help to see where the issue is. Hope this helps, Katrin On 02.07.26 16:50, Paola Vanesa Cruciani via Koha wrote:
Hi everyone,
I hope you are doing well.
I ´m currently working on configuring OAI Sets in Koha to expose our library records via the OAI-PMH protocol.
However, I ´ve found out that some records that clearly meet the defined mappings/conditions for a specific set are not being included when harvesting or querying that set.
Here are a few details about our setup:
Koha version: 23.11.38
Set definition: OAI Sets mappings based on 952$8 952$0 952$7
I ´d like to know if there ´s a recommended way to validate the correct construction of these sets or debug why a record is being skipped. Specifically:
Is there a way to check how Koha evaluates a specific record against the OAI set mappings before it gets exposed?
Where should I look in the logs to find errors related to OAI set building or background jobs?
Any advice, SQL queries to check the oai_sets / oai_sets_mappings tables against the records, or documentation links would be greatly appreciated.
Thank you so much for your time and help!
Best regards, Paola V. Cruciani Directora Biblioteca Especializada del Departamento de Geografía y Turismo Universidad Nacional del Sur https://bibliotecadgyt.uns.edu.ar
_______________________________________________
Koha mailing list -- koha@lists.katipo.co.nz http://koha-community.org To unsubscribe send an email to koha-leave@lists.katipo.co.nz Unsubscribe:
participants (2)
-
cruciani@uns.edu.ar -
Katrin Fischer