lib/ddr/models/indexing.rb in ddr-models-3.0.0.beta.18 vs lib/ddr/models/indexing.rb in ddr-models-3.0.0.beta.20
- old
+ new
@@ -20,20 +20,21 @@
ACCESS_ROLE => roles.to_json,
ADMIN_SET => admin_set,
ASPACE_ID => aspace_id,
ATTACHED_FILES => attached_files_profile.to_json,
BOX_NUMBER_FACET => desc_metadata.values('box_number'),
- CONTRIBUTOR_FACET => desc_metadata.values('contributor'),
+ CONTRIBUTOR_FACET => desc_metadata.contributor,
CREATOR_FACET => desc_metadata.creator,
DATE_FACET => desc_metadata.date,
ATTACHED_FILES_HAVING_CONTENT => attached_files_having_content.keys,
DATE_SORT => date_sort,
DEPOSITOR => depositor,
DISPLAY_FORMAT => display_format,
DOI => doi,
EAD_ID => ead_id,
FCREPO3_PID => fcrepo3_pid,
+ FORMAT_FACET => desc_metadata.format,
IDENTIFIER_ALL => all_identifiers,
LICENSE => license,
LOCAL_ID => local_id,
PERMANENT_ID => permanent_id,
PERMANENT_URL => permanent_url,
@@ -41,10 +42,10 @@
PUBLISHER_FACET => desc_metadata.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 => desc_metadata.subject,
TITLE => title_display,
TYPE_FACET => desc_metadata.type,
UNIQUE_ID => unique_ids,
WORKFLOW_STATE => workflow_state,
YEAR_FACET => year_facet,