Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[BUGFIX] Fix fulltext pages to include facets from all associated metadata sections #1441

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

michaelkubina
Copy link
Collaborator

Problem: Previously, full-text pages only indexed facets from the top-level element (e.g., Type: Monograph, Volume), which meant that additional metadata in other metadata sections were not utilized, even though pages were explicitly associated with these through the StructLink/structMap-Logical. Basically all extensive efforts made in Kitodo.Production to structure the document internally (apart from the bibliographic record) were not even used on the page-level.

Solution: This PR extends the indexing to include facets from all DMD sections associated with the page through the StructLink and StructMap-Logical as well as the corresponding (structure) type. As a result, full-text hits can now be filtered down to more granular structural elements they have been associated with (Table, Illustration, Article, Index, Entry, etc.). Additionally, any deeper metadata beneath the top-level element (bibliographic record) is now included in the indexing process as well, expanding the possibilities to filter fulltext-results further - e.g. filtering for Authors of journal-articles instead of only the editor/publisher of a journal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants