Class: Bulkrax::ParserExportRecordSet::Collection

Inherits:
Base
  • Object
show all
Defined in:
app/parsers/bulkrax/parser_export_record_set.rb

Instance Method Summary collapse

Methods inherited from Base

#count, #each, #initialize

Constructor Details

This class inherits a constructor from Bulkrax::ParserExportRecordSet::Base

Instance Method Details

#collections_queryObject



206
207
208
209
# File 'app/parsers/bulkrax/parser_export_record_set.rb', line 206

def collections_query
  "(id:#{importerexporter.export_source} #{extra_filters}) OR " \
  "(has_model_ssim:#{Bulkrax.collection_model_internal_resource} AND member_of_collection_ids_ssim:#{importerexporter.export_source})"
end

#works_queryObject



201
202
203
204
# File 'app/parsers/bulkrax/parser_export_record_set.rb', line 201

def works_query
  "member_of_collection_ids_ssim:#{importerexporter.export_source} #{extra_filters} AND " \
  "has_model_ssim:(#{Bulkrax.curation_concern_internal_resources.join(' OR ')})"
end