diff --git a/rails/hamster/app/controllers/solr_controller.rb b/rails/hamster/app/controllers/solr_controller.rb index 57621c9..1148c53 100644 --- a/rails/hamster/app/controllers/solr_controller.rb +++ b/rails/hamster/app/controllers/solr_controller.rb @@ -5,7 +5,7 @@ require 'rexml/document' class SolrController < ApplicationController include SolrHelper - def index + def simple_query @search = request[:q] @results = [] if @search != nil @@ -13,4 +13,6 @@ class SolrController < ApplicationController end end + def index + end end diff --git a/rails/hamster/app/views/solr/index.html.erb b/rails/hamster/app/views/solr/index.html.erb index d47c07e..18121c5 100644 --- a/rails/hamster/app/views/solr/index.html.erb +++ b/rails/hamster/app/views/solr/index.html.erb @@ -1,15 +1 @@ -
Results for “<%= @search %>”:
-Results for “<%= @search %>”:
+