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

[WIP] TNW-30 bugfixes #90

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

[WIP] TNW-30 bugfixes #90

wants to merge 4 commits into from

Conversation

paluchas
Copy link
Collaborator

@paluchas paluchas commented Jun 18, 2021

Changes to Solr index field as required by TNW-30

  • Add date_new_ssi sortable field in SingleDate document
  • Add date_full_ssim field in Entry document

@paluchas paluchas requested a review from yf508 June 18, 2021 18:52
paluchas added 2 commits June 20, 2021 17:59
The field contains copy of date_tesim. The change is required as *_tesim is not sortable field in Solr.

"msg":"can not sort on multivalued field: date_tesim of type: text_en"

This is part of change introduced with https://dti-uoy.atlassian.net/browse/TNW-30 bug fixes.
Rake task to re-indexing SingleDate Sorl documents.

Note ```Error Couldn't find ActiveFedora::Base with 'id'=xxxxx while indexing xxxxx results```
is result of Solr index data beeing ahead of Fedora data. Issue with local dev env.

The error must not occur on production system.
@paluchas
Copy link
Collaborator Author

Force push branch rebased onto master with new Ruby/Gems.

Copy link
Contributor

@yf508 yf508 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace 'date_full_facet_ssim' by 'date_full_ssim' as it won't be used in the facet?

@paluchas paluchas force-pushed the TNW-30/bugfixes branch 2 times, most recently from 341356b to b65ce26 Compare July 1, 2021 15:01
paluchas added 2 commits July 1, 2021 16:05
- added error details
- calculate total running time
Add at Entry document _date_full_ssim_ field to store full date string.
- it allows to sort Entries in date order including months and days
- it resolves some bug as reported at https://dti-uoy.atlassian.net/browse/TNW-30
@paluchas paluchas closed this Aug 4, 2021
@paluchas paluchas reopened this Aug 4, 2021
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