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

Fields spanning multiple metadata fields are handled in backend now #300

Merged
merged 3 commits into from
Jan 2, 2024

Conversation

paulpilone
Copy link
Collaborator

@paulpilone paulpilone commented Dec 29, 2023

Closes #291

This PR addresses an issue where searching from the UI for dc_title would search both dc_title and dc_title_alternative. Normally that's what we want; however, when using the boolean operator AND this resulted in searches for dc_title AND dc_title_alternative. Some documents don't have an alternative title and the search would fail.

Instead, now, the UI just passes dc_title and the backend determines which fields to use in a way that produces the results we want.

Also updated for dc_contributor* (author, editor, etc).

@paulpilone paulpilone merged commit 6c06fb0 into develop Jan 2, 2024
2 checks passed
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.

Update the search results boolean logic.
1 participant