Sha256: e75ee214c070750c8985c29596f58cbf611654fc0df4ed049ccba8204b7d6128
Contents?: true
Size: 787 Bytes
Versions: 2
Compression:
Stored size: 787 Bytes
Contents
namespace :cul_scv_hydra do namespace :index do task :recursively_index_fedora_objects => :environment do puts '---------------------------' puts 'Fedora URL: ' + ActiveFedora.config.credentials[:url] puts 'Solr URL: ' + ActiveFedora.solr_config[:url] puts '---------------------------' START_TIME = Time.now #lindquist == burke_lindq == ldpd:130509 ENV["RAILS_ENV"] ||= Rails.env pid = ENV['pid'] skip_top_level_object_indexing = ( ! ENV['skip_top_level_object_indexing'].blank? && ENV['skip_top_level_object_indexing']) begin Cul::Scv::Hydra::Indexer.recursively_index_fedora_objects(pid, skip_top_level_object_indexing, true) rescue => e puts e next end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cul_scv_hydra-0.14.2 | lib/tasks/index.rake |
cul_scv_hydra-0.14.1 | lib/tasks/index.rake |