From 8ab82f57a584d856a8edb234f8c6f621fb596566 Mon Sep 17 00:00:00 2001 From: Ben Pennell Date: Wed, 25 Sep 2024 16:28:54 -0400 Subject: [PATCH 1/2] Include identifier field in default search fields --- app/controllers/catalog_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 1316eab9d..90dc21a0d 100755 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -72,7 +72,7 @@ def single_item_search_builder(id) config.default_solr_params = { qt: 'search', rows: 10, - qf: 'title_tesim description_tesim creator_label_tesim keyword_tesim all_text_timv' + qf: 'title_tesim description_tesim creator_label_tesim keyword_tesim all_text_timv identifier_tesim' } # solr field configuration for document/show views From 09ac96f4bab2b790d180b769e1e48836b572bf9b Mon Sep 17 00:00:00 2001 From: Ben Pennell Date: Thu, 26 Sep 2024 09:51:20 -0400 Subject: [PATCH 2/2] Add related url --- app/controllers/catalog_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 90dc21a0d..4a5db2378 100755 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -72,7 +72,7 @@ def single_item_search_builder(id) config.default_solr_params = { qt: 'search', rows: 10, - qf: 'title_tesim description_tesim creator_label_tesim keyword_tesim all_text_timv identifier_tesim' + qf: 'title_tesim description_tesim creator_label_tesim keyword_tesim all_text_timv identifier_tesim related_url_tesim' } # solr field configuration for document/show views