Skip to content

Commit 6e51615

Browse files
authored
Merge pull request #3814 from projectblacklight/jcoyne-patch-2
Add http_method to example configuration
2 parents 3837cb7 + d831508 commit 6e51615

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/generators/blacklight/templates/catalog_controller.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ class <%= controller_name.classify %>Controller < ApplicationController
3636
## Optional fine-tuning for advanced search, e.g., set different limits for
3737
## different facets.
3838
# config.advanced_search.form_solr_parameters = {}
39-
39+
#
40+
## What type of HTTP request to make to solr. Use `:post' to support requests longer than the URI length limit.
41+
## (default is `:get')
42+
# config.http_method = :post
43+
#
4044
## Default parameters to send to solr for all search-like requests. See also SearchBuilder#processed_parameters
4145
config.default_solr_params = {
4246
rows: 10

0 commit comments

Comments
 (0)