Skip to content

Commit

Permalink
temp play
Browse files Browse the repository at this point in the history
  • Loading branch information
rawOrlando committed Nov 15, 2024
1 parent 0748b22 commit 31416d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/tufts/tdl_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }
Expand Down

0 comments on commit 31416d4

Please sign in to comment.