lib/ddr/models/indexing.rb in ddr-models-2.5.3 vs lib/ddr/models/indexing.rb in ddr-models-2.6.0.rc1

- old
+ new

@@ -18,50 +18,66 @@ def index_fields fields = { ACCESS_ROLE => roles.to_json, ADMIN_SET => admin_set, ADMIN_SET_TITLE => admin_set_title, + ARRANGER_FACET => desc_metadata_values('arranger'), ASPACE_ID => aspace_id, ATTACHED_FILES_HAVING_CONTENT => attached_files_having_content.keys, BOX_NUMBER_FACET => desc_metadata_values('box_number'), CATEGORY_FACET => desc_metadata_values('category'), COLLECTION_TITLE => collection_title, COMPANY_FACET => desc_metadata_values('company'), + COMPOSER_FACET => desc_metadata_values('composer'), 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, + ENGRAVER_FACET => desc_metadata_values('engraver'), FOLDER_FACET => desc_metadata_values('folder'), FORMAT_FACET => format, + GENRE_FACET => desc_metadata_values('genre'), IDENTIFIER_ALL => all_identifiers, + ILLUSTRATED_FACET => desc_metadata_values('illustrated'), + ILLUSTRATOR_FACET => desc_metadata_values('illustrator'), + INSTRUMENTATION_FACET => desc_metadata_values('instrumentation'), INTERNAL_URI => internal_uri, + INTERVIEWER_NAME_FACET => desc_metadata_values('interviewer_name'), IS_LOCKED => is_locked, LICENSE => license, LICENSE_DESCRIPTION => rightsMetadata.license.description.first, LICENSE_TITLE => rightsMetadata.license.title.first, LICENSE_URL => rightsMetadata.license.url.first, + LITHOGRAPHER_FACET => desc_metadata_values('lithographer'), LOCAL_ID => local_id, + LYRICIST_FACET => desc_metadata_values('lyricist'), MEDIUM_FACET => desc_metadata_values('medium'), + PERFORMER_FACET => desc_metadata_values('performer'), PERMANENT_ID => permanent_id, PERMANENT_URL => permanent_url, PLACEMENT_COMPANY_FACET => desc_metadata_values('placement_company'), POLICY_ROLE => roles.in_policy_scope.agents, + PRODUCER_FACET => desc_metadata_values('producer'), PRODUCT_FACET => desc_metadata_values('product'), PUBLICATION_FACET => desc_metadata_values('publication'), PUBLISHER_FACET => publisher, RESEARCH_HELP_CONTACT => research_help_contact, RESOURCE_ROLE => roles.in_resource_scope.agents, + ROLL_NUMBER_FACET => desc_metadata_values('roll_number'), SERIES_FACET => desc_metadata_values('series'), SETTING_FACET => desc_metadata_values('setting'), SPATIAL_FACET => desc_metadata_values('spatial'), SUBJECT_FACET => subject, + SUBSERIES_FACET => desc_metadata_values('subseries'), + TEMPORAL_FACET => desc_metadata_values('temporal'), TITLE => title_display, TONE_FACET => desc_metadata_values('tone'), TYPE_FACET => type, + VOLUME_FACET => desc_metadata_values('volume'), WORKFLOW_STATE => workflow_state, YEAR_FACET => year_facet, } if respond_to? :fixity_checks last_fixity_check = fixity_checks.last