Class: Bulkrax::ParserExportRecordSet::Collection
- Inherits:
-
Base
- Object
- Base
- Bulkrax::ParserExportRecordSet::Collection
show all
- Defined in:
- app/parsers/bulkrax/parser_export_record_set.rb
Instance Method Summary
collapse
Methods inherited from Base
#count, #each, #initialize
Instance Method Details
#collections_query ⇒ Object
206
207
208
209
|
# File 'app/parsers/bulkrax/parser_export_record_set.rb', line 206
def collections_query
"(id:#{importerexporter.export_source} #{}) OR " \
"(has_model_ssim:#{Bulkrax.collection_model_internal_resource} AND member_of_collection_ids_ssim:#{importerexporter.export_source})"
end
|
#works_query ⇒ Object
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} #{} AND " \
"has_model_ssim:(#{Bulkrax.curation_concern_internal_resources.join(' OR ')})"
end
|