Sha256: d121e1a2ac4d1a8cbde08c94768a59f3be590638a6bdb74ae6c000cb067c5d7c
Contents?: true
Size: 704 Bytes
Versions: 13
Compression:
Stored size: 704 Bytes
Contents
require 'harvestdor-indexer' require 'spotlight/dor/resources/version' module Spotlight module Dor # Spotlight::Dor::Resources provides a Rails engine # that is capable of harvesting and indexing resources # from Searchworks and PURL endpoints module Resources require 'spotlight/dor/indexer' require 'spotlight/dor/resources/engine' class <<self def indexer @indexer ||= Spotlight::Dor::Indexer.new gdor_config_path, solr: solr_config end def gdor_config_path File.join(Rails.root, 'config', 'gdor.yml') end def solr_config Blacklight.connection_config end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems