lib/ddr/index/fields.rb in ddr-models-2.2.0 vs lib/ddr/index/fields.rb in ddr-models-2.3.0
- old
+ new
@@ -22,11 +22,11 @@
ADMIN_SET_FACET = Field.new :admin_set_facet, :facetable
BOX_NUMBER_FACET = Field.new :box_number_facet, :facetable
COLLECTION_FACET = Field.new :collection_facet, :facetable
COLLECTION_URI = Field.new :collection_uri, :symbol
CONTENT_CONTROL_GROUP = Field.new :content_control_group, :searchable, type: :string
- CONTENT_SIZE = Field.new :content_size, :stored_sortable, type: :integer
+ CONTENT_SIZE = Field.new :content_size, solr_name: "content_size_lsi"
CONTENT_SIZE_HUMAN = Field.new :content_size_human, :symbol
CREATOR_FACET = Field.new :creator_facet, :facetable
DATE_FACET = Field.new :date_facet, :facetable
DATE_SORT = Field.new :date_sort, :sortable
DEPOSITOR = Field.new :depositor, :stored_sortable
@@ -67,10 +67,10 @@
SPATIAL_FACET = Field.new :spatial_facet, :facetable
STRUCT_MAPS = Field.new :struct_maps, :stored_sortable
TECHMD_COLOR_SPACE = Field.new :techmd_color_space, :symbol
TECHMD_CREATING_APPLICATION = Field.new :techmd_creating_application, :symbol
TECHMD_CREATION_TIME = Field.new :techmd_creation_time, :stored_searchable, type: :date
- TECHMD_FILE_SIZE = Field.new :techmd_file_size, :stored_searchable, type: :integer
+ TECHMD_FILE_SIZE = Field.new :techmd_file_size, solr_name: "techmd_file_size_lsi"
TECHMD_FITS_VERSION = Field.new :techmd_fits_version, :stored_sortable
TECHMD_FITS_DATETIME = Field.new :techmd_fits_datetime, :stored_sortable, type: :date
TECHMD_FORMAT_LABEL = Field.new :techmd_format_label, :symbol
TECHMD_FORMAT_VERSION = Field.new :techmd_format_version, :symbol
TECHMD_IMAGE_HEIGHT = Field.new :techmd_image_height, :stored_searchable, type: :integer