We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 059b4b1 + 8d2fe84 commit 6009ce4Copy full SHA for 6009ce4
app/controllers/catalog_controller.rb
@@ -9,6 +9,10 @@ class CatalogController < ApplicationController
9
include Arclight::FieldConfigHelpers
10
11
configure_blacklight do |config|
12
+ # Disable user search and session features we don't use because
13
+ # they have a huge performance impact when crawled by bots
14
+ config.crawler_detector = ->(req) { true }
15
+
16
# default advanced config values
17
config.advanced_search ||= Blacklight::OpenStructWithHashAccess.new
18
# config.advanced_search[:qt] ||= 'advanced'
0 commit comments