-
Notifications
You must be signed in to change notification settings - Fork 1
Admin Metadata panel, correct Last Indexed Date value #3586
Copy link
Copy link
Open
Labels
Content OpsIssues related to import, export, bulkrax, and content processing.Issues related to import, export, bulkrax, and content processing.MetadataIssues related to metadata configuration, application, and representationIssues related to metadata configuration, application, and representationPriority - MediumIssues that should be prioritized ahead of low but not immediately critical - bulk of work cyclesIssues that should be prioritized ahead of low but not immediately critical - bulk of work cycles
Metadata
Metadata
Assignees
Labels
Content OpsIssues related to import, export, bulkrax, and content processing.Issues related to import, export, bulkrax, and content processing.MetadataIssues related to metadata configuration, application, and representationIssues related to metadata configuration, application, and representationPriority - MediumIssues that should be prioritized ahead of low but not immediately critical - bulk of work cyclesIssues that should be prioritized ahead of low but not immediately critical - bulk of work cycles
Descriptive summary
The Last Indexed Date in the Admin Metadata panel is actually the Date Modified value. Just updating the index of a work does not update this value.
I thought we had a last indexed timestamp in each solr doc, but we do not. For Solr to include it, it needs to be added to the schema. However, Solr's version value in each solr doc is a form of a timestamp that is convertible to a useful date. While not really designed to be a user-facing date, since this is just for the Admin Metadata panel I think it's ok. "The version field is an internal field that is used by the partial update procedure, the update log process, and by SolrCloud."
https://stackoverflow.com/questions/15527380/solr-4-2-what-is-version-field?rq=3
_version_is time since epoch in milliseconds, multipled by 2^20.Expected behavior
Last Indexed Date should be the actual date the solr doc was updated.
Related work
#3453
Accessibility Concerns
Add any information here to indicate any known or suspected accessibility issues for this ticket