From 31416d4cbd3dec5d9fe9baa7b0f726b12ff64c06 Mon Sep 17 00:00:00 2001 From: Ryan Orlando Date: Fri, 15 Nov 2024 15:44:11 -0500 Subject: [PATCH] temp play --- app/models/tufts/tdl_resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/tufts/tdl_resource.rb b/app/models/tufts/tdl_resource.rb index 5279ae741..fdb343749 100644 --- a/app/models/tufts/tdl_resource.rb +++ b/app/models/tufts/tdl_resource.rb @@ -33,7 +33,7 @@ def self.indexing_pipeline @indexing_pipeline ||= super.dup.tap do |pipeline| # pipeline.transforms = [Spotlight::Etl::Transforms::SourceMethodTransform(:solr_doc)] + pipeline.transforms # maybe I add a new sources? - pipeline.sources = [Spotlight::Etl::Sources::SourceMethodSource(:iiif_manifests), Spotlight::Etl::Sources::SourceMethodSource(:solr_doc)] + pipeline.sources = [Spotlight::Etl::Sources::SourceMethodSource(:iiif_manifests)]#, Spotlight::Etl::Sources::SourceMethodSource(:solr_doc)] pipeline.transforms = [ ->(data, p) { data.merge(p.source.to_solr(exhibit: p.context.resource.exhibit)) }