app/controllers/catalog_controller.rb
def index
    (@response, @document_list) = search_results(params)

    facet_mouseover_info

    respond_to do |format|
      format.html { store_preferred_view }
      format.rss  { render layout: false }
      format.atom { render layout: false }
      format.json do
        @presenter = Blacklight::JsonPresenter.new(@response,
                                                   @document_list,
                                                   facets_from_request,
                                                   blacklight_config)
      end
      additional_response_formats(format)
      document_export_formats(format)
    end
  end
# get search results from the solr index
get search results from the solr index
get search results from the solr index
def index
    (@response, @document_list) = search_results(params)
    facet_mouseover_info
    respond_to do |format|
      format.html { store_preferred_view }
      format.rss  { render layout: false }
      format.atom { render layout: false }
      format.json do
        @presenter = Blacklight::JsonPresenter.new(@response,
                                                   @document_list,
                                                   facets_from_request,
                                                   blacklight_config)
      end
      additional_response_formats(format)
      document_export_formats(format)
    end
  end
def index ( @response , @document_list ) = search_results ( params ) facet_mouseover_info respond_to do | format | format . html { store_preferred_view } format . rss { render layout : false } format . atom { render layout : false } format . json do @presenter = Blacklight :: JsonPresenter . new ( @response , @document_list , facets_from_request , blacklight_config ) end additional_response_formats ( format ) document_export_formats ( format ) end end
get search results from the solr index
get search results from the solr index