Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Add uri to string creator to creator_sim also #612

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading