Search API not returning variables and observations for tabular data #11182
Labels
GREI Re-arch
Issues related to the GREI Dataverse rearchitecture
SPA
These changes are required for the Dataverse SPA
Type: Bug
a defect
The search API doesn't return the variables and observations of newly ingested files. It seems to need a subsequent update to the file, such as publishing the dataset, or editing the file metadata, for the search API to return the ingested version of the file.
This is a problem for the SPA because it is using the Search API for getting all the file information it displays on the Collection Page.
What steps does it take to reproduce the issue?
Create a Dataset and add a tabular file to the Dataset. Go to the JSF Dataverse page, and see that the file has been ingested and that it is showing tabular data information, for example:
Retrieve the file information from the Search API:
http://localhost:8000/api/v1/search?q=*&subtree=ingested-file-collection&type=file
The returned file is not the ingested version, it doesn't contain variables or observations:
When does this issue occur?
Search API
Which page(s) does it occurs on?
NA
What happens?
doesn't return ingested version of the file
To whom does it occur (all users, curators, superusers)?
API users
What did you expect to happen?
Should return Tabular file type, variables and observations.
Which version of Dataverse are you using?
The unstable Dataverse Docker image
The text was updated successfully, but these errors were encountered: