Module: BlacklightCql::ExplainBehavior

Defined in:
lib/blacklight_cql/explain_behavior.rb

Overview

Provides an #explain action method which can be mixed into a Blacklight CatalogController type controller, to provide an explain response.

Instance Method Summary collapse

Instance Method Details

#cql_explainObject



7
8
9
10
11
12
# File 'lib/blacklight_cql/explain_behavior.rb', line 7

def cql_explain
   @luke_response = HashWithIndifferentAccess.new(blacklight_solr.get('admin/luke'))
   @config = blacklight_config
   
   render "blacklight_cql/explain.xml.builder", :content_type => "application/xml", :layout => false
end