From 71e3f083f5401e7f936d283af7a73c82a560d813 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Fri, 1 Mar 2024 14:17:33 -0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=90=9B=20Add=20uri=20to=20strin?= =?UTF-8?q?g=20creator=20to=20`creator=5Fsim`=20also"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 75cf524300e4eebb5b765ff6b7e564c7a11eb9f7. --- app/indexers/collection_indexer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/indexers/collection_indexer.rb b/app/indexers/collection_indexer.rb index 2a7d63da..7fc32388 100644 --- a/app/indexers/collection_indexer.rb +++ b/app/indexers/collection_indexer.rb @@ -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_sim"] = solr_doc["creator_tesim"] = all_creators + 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