lib/ddr/models/indexing.rb in ddr-models-2.4.8 vs lib/ddr/models/indexing.rb in ddr-models-2.4.9
- old
+ new
@@ -20,18 +20,19 @@
ACCESS_ROLE => roles.to_json,
ADMIN_SET => admin_set,
ASPACE_ID => aspace_id,
ATTACHED_FILES_HAVING_CONTENT => attached_files_having_content.keys,
BOX_NUMBER_FACET => desc_metadata_values('box_number'),
- CONTRIBUTOR_FACET => desc_metadata_values('contributor'),
+ CONTRIBUTOR_FACET => contributor,
CREATOR_FACET => creator,
DATE_FACET => date,
DATE_SORT => date_sort,
DEPOSITOR => depositor,
DISPLAY_FORMAT => display_format,
DOI => adminMetadata.doi,
EAD_ID => ead_id,
+ FORMAT_FACET => format,
IDENTIFIER_ALL => all_identifiers,
INTERNAL_URI => internal_uri,
LICENSE => license,
LICENSE_DESCRIPTION => rightsMetadata.license.description.first,
LICENSE_TITLE => rightsMetadata.license.title.first,
@@ -43,10 +44,10 @@
PUBLISHER_FACET => publisher,
RESEARCH_HELP_CONTACT => research_help_contact,
RESOURCE_ROLE => roles.in_resource_scope.agents,
SERIES_FACET => desc_metadata_values('series'),
SPATIAL_FACET => desc_metadata_values('spatial'),
- SUBJECT_FACET => desc_metadata_values('subject'),
+ SUBJECT_FACET => subject,
TITLE => title_display,
TYPE_FACET => type,
WORKFLOW_STATE => workflow_state,
YEAR_FACET => year_facet,
}