module Spotlight::Dor::Resources
Spotlight::Dor::Resources
provides a Rails engine that is capable of harvesting and indexing resources from Searchworks and PURL endpoints
Constants
- VERSION
Public Class Methods
gdor_config_path()
click to toggle source
# File lib/spotlight/dor/resources.rb, line 18 def gdor_config_path File.join(Rails.root, 'config', 'gdor.yml') end
indexer()
click to toggle source
# File lib/spotlight/dor/resources.rb, line 14 def indexer @indexer ||= Spotlight::Dor::Indexer.new gdor_config_path, solr: solr_config end
solr_config()
click to toggle source
# File lib/spotlight/dor/resources.rb, line 22 def solr_config Blacklight.connection_config end