Files tab not showing "Last modified" timestamp of files

Created on 10 October 2021, over 3 years ago
Updated 6 March 2024, about 1 year ago

Problem/Motivation

In the Server config page of Solr servers, there is a Files tab. That files tab lists the configuration files of the connected Solr backend.
In Acquia Search v2 with Solr 4, the files in the "Files" tab would have the "Last modified" timestamp, indicating when the last time the file was modified. However, when connecting to Solr 7 cores in Acquia, the "Last modified" timestamp is missing.

This does not seem like an issue with Search API Solr because the "Last modified" timestamp appears locally when connecting to a local Solr instance, but when it connects to Acquia Solr servers, it is not there. Looking at the code of Search API Solr, the "modified" key array in $file_list is missing when fetching info from the Acquia Solr 7 cores.

Steps to reproduce

1. Connect to an Acquia Solr 7 core using the Acquia Search module.
2. In the Files tab of the Server configuration page, observe that the files do not have the "Last modified" timestamp beneath the title of the file.
3. Set up Solr 7 locally and observe that the "Last modified" timestamp is there.
Versions of search modules used:
Acquia Search: 3.0.5
Acquia Connector: 3.0.3
Search API Solr: 4.2.1
Search API: 8.x-1.19

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    While this is an issue, I do not believe its an issue with the module. The solr proxy is not returning anything other than filesize. Its likely a fix that would have be solved by the Search service team.

Production build 0.71.5 2024