Skip to content

Commit

Permalink
Merge pull request #1052 from scientist-softserv/i1051-resolve-414-ur…
Browse files Browse the repository at this point in the history
…i-too-long-error

i1051 Set :post as default Solr HTTP method
  • Loading branch information
bkiahstroud authored Aug 29, 2024
2 parents 9762688 + 41b31ce commit d3400a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def self.modified_field
include BlacklightIiifSearch::Controller

configure_blacklight do |config|
# TODO: Replace with Hyrax.config.solr_default_method when upgrading to >= Hyrax v4.0.0
config.http_method = :post

# IiifPrint index fields
config.add_index_field 'all_text_tsimv', highlight: true, helper_method: :render_ocr_snippets

Expand Down

0 comments on commit d3400a1

Please sign in to comment.