lib/revs-utils.rb in revs-utils-2.1.24 vs lib/revs-utils.rb in revs-utils-2.1.25
- old
+ new
@@ -27,10 +27,11 @@
AUTOMOBILE_LC_TERMS= File.open(REVS_LC_TERMS_FILENAME,'rb'){|io| Marshal.load(io)} if File.exists?(REVS_LC_TERMS_FILENAME)
REVS_MANIFEST_HEADERS_FILE = File.open(REVS_MANIFEST_HEADERS_FILEPATH)
REVS_MANIFEST_HEADERS = YAML.load( REVS_MANIFEST_HEADERS_FILE)
ARCHIVE_DRUIDS={:revs=>'nt028fd5773',:roadandtrack=>'mr163sv5231'} # a hash of druids of the master archives, keys are arbitrary but druids must match the druids in DOR
- # these druids will be used to set the archive name in each document
+ ARCHIVE_NAMES={:revs=>'Revs Institute® Archives',:roadandtrack=>'Road & Track Archive'} # the names of the archives (will be used when indexing instead of the title of the collection itself)
+
MULTI_COLLECTION_ARCHIVES=[:revs] # list the keys from the hash above for any archives that contain multiple collections (like Revs), for which each item in DOR belongs to both a parent collection and the master archive collection ... since we do not want to also add the master archive name as another collection druid to each record, we skip them
# these are used in the revs solr document in the main revs digital library rails app, as well as the revs-indexing-service app
def revs_field_mappings
{