Sha256: b7f1de6e331bda12866cd53c94d6d1b8566b73dcc2ebd09880407fac77dd98f5
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
xml.instruct! xml.explain("xmlns" => "http://explain.z3950.org/dtd/2.0/") do # Made up protocol "http-cql", oh well. xml.serverInfo("protocol" => "http-cql") do xml.host request.host xml.port request.port xml.database url_for(:action => "index", :search_field => BlacklightCql::SearchBuilderExtension.pseudo_search_field[:key], :only_path => false) end xml.indexInfo do xml.set(:name => CqlRuby.to_solr_defaults[:solr_field_prefix], :identifier => url_for(:action => "index", :anchor => "local_solr_field", :only_path => false)) xml.set(:name => CqlRuby.to_solr_defaults[:blacklight_field_prefix], :identifier => url_for(:action => "index", :anchor => "local_app_field", :only_path => false)) #context set for our solr.dismax relation xml.set(:name => "solr", :identifier => "http://purl.org/net/cql-context-set/solr") blacklight_config_to_explain_index(xml) luke_to_explain_index(xml) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight_cql-3.0.1 | app/views/blacklight_cql/explain.xml.builder |
blacklight_cql-3.0.0 | app/views/blacklight_cql/explain.xml.builder |