Skip to content

Commit

Permalink
Merge pull request #612 from scientist-softserv/creator-sim-for-colle…
Browse files Browse the repository at this point in the history
…ctions

🐛 Add uri to string creator to creator_sim also
  • Loading branch information
kirkkwang authored Mar 1, 2024
2 parents 71e3f08 + bc0979b commit dc27081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/indexers/collection_indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CollectionIndexer < Hyrax::CollectionIndexer
# Uncomment this block if you want to add custom indexing behavior:
def generate_solr_document
super.tap do |solr_doc|
solr_doc["creator_tesim"] = all_creators
solr_doc["creator_sim"] = solr_doc["creator_tesim"] = all_creators
solr_doc["bulkrax_identifier_sim"] = object.bulkrax_identifier
solr_doc["account_cname_tesim"] = Site.instance&.account&.cname
solr_doc[CatalogController.title_field] = object.title.first
Expand Down

0 comments on commit dc27081

Please sign in to comment.