ycba-cia / blacklight-collections2

5 stars 2 forks source link

maintain legacy collection endpoints linking to blacklight #72

Open yulgit1 opened 5 years ago

yulgit1 commented 5 years ago

see email thread RE: transitioning catalog endpoints

yulgit1 commented 5 years ago

Mike writes:

So the CCD database contains a mapping of the record ID (SOLR ID) to the OAI ID of the record. E.g.,

1669240 oai:tms.ycba.yale.edu:5009

Which corresponds to https://collections.britishart.yale.edu/vufind/Record/1669240 (TMS ID 5009)

It seems like it should be easy enough to create a table that either matches the old ID to the new one, or allows you to dynamically search for the correct record.

yulgit1 commented 5 years ago

Eric writes:

Answering my own question, one possibility is to keep the current dev solr as a lookup.

https://search-index-dev.its.yale.edu/solr/ycba_collections_search/

For and orbis record of 1609 do a query: url_ss:http://hdl.handle.net/10079/bibid/1609

For a lido record of 21841 do a query: recordID_facet:21841

The ‘id’ field returned would have the vufind id. Spin through and populate a 2 column table to manage redirects and the metadata update.