Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

documents: import BGE set from RERODOC #529

Merged
merged 1 commit into from
May 11, 2021
Merged

documents: import BGE set from RERODOC #529

merged 1 commit into from
May 11, 2021

Conversation

sebdeleze
Copy link
Contributor

  • Adds the set in OAI configuration file.
  • Decreases chunks size to avoid errors during indexing.
  • Logs info when a record is already imported.
  • Forces organisation code to vge to match the actual organisation.
  • Checks the start date and the end date formats.
  • Avoids error when the language code is fr instead of fre.
  • Closes Import BGE records from RERODOC #528.

Co-Authored-by: Sébastien Délèze sebastien.deleze@rero.ch

@sebdeleze sebdeleze marked this pull request as ready for review April 14, 2021 12:56
@sebdeleze sebdeleze requested a review from jma April 23, 2021 10:16
@mmo
Copy link
Collaborator

mmo commented Apr 27, 2021

In https://github.com/rero/sonar/pull/529/files#diff-47f85ee78103eb405361008ed6cc76bb50e4dd59e31cc9cc5e144aa61bbdc07aR70 is it possible to change bpuge to bge as we did from unisi to usi?

* Adds the sets in OAI configuration file.
* Decreases chunks size to avoid errors during indexing.
* Logs info when a record is already imported.
* Forces organisation codes (BPUGE and MHNGE) to `vge` to match the actual organisation.
* Checks the start date and the end date formats.
* Avoids error when the language code is `fr` instead of `fre`.
* Refactors the method to search existing identifiers.
* Sets `identifiedBy` field to `nested` type in mapping, to be able to search an exact combination of identifier (type, source, value).
* Adds a field `sections` to store the real set value (mhnge and bge) and configures facet for this field.
* Closes #528.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
@sebdeleze sebdeleze merged commit cd4bc3c into rero:staging May 11, 2021
@sebdeleze sebdeleze deleted the sed-import-bge-from-rerodoc branch May 11, 2021 11:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Import BGE records from RERODOC
3 participants