From 91ed93eac52d4055fa81cdd3371d0da39a24fc89 Mon Sep 17 00:00:00 2001 From: foglabs Date: Tue, 13 Dec 2022 12:02:51 -0500 Subject: [PATCH] 'add rows option for snippet solr search' --- app/helpers/blacklight_guid_fetcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/blacklight_guid_fetcher.rb b/app/helpers/blacklight_guid_fetcher.rb index 921494a91b..d207093769 100644 --- a/app/helpers/blacklight_guid_fetcher.rb +++ b/app/helpers/blacklight_guid_fetcher.rb @@ -16,7 +16,7 @@ def fetch_from_solr(guid) end def query_from_solr(search) - resp = query_solr(q: search) + resp = query_solr(q: search, rows: 10000) resp["response"]["docs"].map { |doc| SolrDocument.new(doc) } if resp && resp["response"] && resp["response"]["docs"] rescue Blacklight::Exceptions::RecordNotFound # return bupkis if bupkis