lib/ddr/index/fields.rb in ddr-models-3.0.0.beta.17 vs lib/ddr/index/fields.rb in ddr-models-3.0.0.beta.18
- old
+ new
@@ -6,12 +6,15 @@
ACCESS_ROLE = Field.new :access_role, :stored_sortable
ACTIVE_FEDORA_MODEL = Field.new :active_fedora_model, :stored_sortable
ADMIN_SET = Field.new :admin_set, :stored_sortable
ADMIN_SET_FACET = Field.new :admin_set_facet, :facetable
+ ALL_TEXT = Field.new :all_text, solr_name: "all_text_timv"
ASPACE_ID = Field.new :aspace_id, :stored_sortable
ATTACHED_FILES = Field.new :attached_files, solr_name: "attached_files_ss"
+ ATTACHED_FILES_HAVING_CONTENT =
+ Field.new :attached_files_having_content, :symbol
BOX_NUMBER_FACET = Field.new :box_number_facet, :facetable
COLLECTION_FACET = Field.new :collection_facet, :facetable
COLLECTION_URI = Field.new :collection_uri, :symbol
CONTENT_CREATE_DATE = Field.new :content_create_date, :stored_sortable, type: :date
CONTENT_SIZE = Field.new :content_size, solr_name: "content_size_lsi"
@@ -22,10 +25,10 @@
DATE_SORT = Field.new :date_sort, :sortable
DEPOSITOR = Field.new :depositor, :stored_sortable
DISPLAY_FORMAT = Field.new :display_format, :stored_sortable
DOI = Field.new :doi, :symbol
EAD_ID = Field.new :ead_id, :stored_sortable
- EXTRACTED_TEXT = Field.new :extracted_text, :searchable, type: :text
+ EXTRACTED_TEXT = Field.new :extracted_text, solr_name: "extracted_text_tsm"
FCREPO3_PID = Field.new :fcrepo3_pid, :stored_sortable
HAS_MODEL = Field.new :has_model, :symbol
IDENTIFIER_ALL = Field.new :identifier_all, :symbol
IS_ATTACHED_TO = Field.new :is_attached_to, solr_name: "isAttachedTo_ssim"
IS_EXTERNAL_TARGET_FOR = Field.new :is_external_target_for, solr_name: "isExternalTargetFor_ssim"