From 2d367f0a5341406c627ff0cba4b7c230ca7fcf4d Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 7 Nov 2024 20:57:58 -0800 Subject: [PATCH] quick fix to restore type facet for valk resources --- app/indexers/hyrax/indexers/resource_indexer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/indexers/hyrax/indexers/resource_indexer.rb b/app/indexers/hyrax/indexers/resource_indexer.rb index 71273bc166..41e3627907 100644 --- a/app/indexers/hyrax/indexers/resource_indexer.rb +++ b/app/indexers/hyrax/indexers/resource_indexer.rb @@ -47,6 +47,7 @@ def to_solr "system_modified_dtsi": resource.updated_at, "has_model_ssim": resource.to_rdf_representation, "human_readable_type_tesim": resource.human_readable_type, + "human_readable_type_sim": resource.human_readable_type, "alternate_ids_sim": resource.alternate_ids.map(&:to_s) }.with_indifferent_access end