NASA-PDS / ds-view

Data Set View application (pds.nasa.gov/ds-view)
Apache License 2.0
0 stars 0 forks source link

v2.14.2 does not work for resource links #12

Closed jordanpadams closed 10 months ago

jordanpadams commented 10 months ago

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

Updates for resource links for new solr do not work with previous metadata

🕵️ Expected behavior

I expected resource links to appear

📜 To Reproduce

  1. load data and resources with resource_refs identified
  2. go to ds-view landing page for that data
  3. notice that the SEARCH/ACCESS links are empty

🖥 Environment Info

Chrome

📚 Version of Software Used

v2.14.2

🩺 Test Data / Additional context

https://pds.nasa.gov/ds-view/pds/viewDocument.jsp?identifier=urn:nasa:pds:vex-aspera4-els:document:sis&version=1.0

🦄 Related requirements

No response

⚙️ Engineering Details

In older solr schema, identifier was the unique ID for the documents and the LID was the identifier. In the new version, it creates a separate UUID, and the identifier is both LIDs and LIDVIDs. The updates we made for Solr 9 and searching for resources searched by LIDVID. We need to get the LID from those before we query Solr for the older schema.

jordanpadams commented 10 months ago

Fixed per #13