simple passthrough query version
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
<h1>Solr#index</h1>
|
||||
<p>Find me in app/views/solr/index.html.erb</p>
|
||||
<h1>Find Stuff!</h1>
|
||||
|
||||
<form action="" method="get" name="query">
|
||||
<input type="text" name="q" value="<%= @search || "" %>"/>
|
||||
<input type="submit" value="Search" />
|
||||
</form>
|
||||
|
||||
<% if @results %>
|
||||
<p>Results for “<%= @search %>”:</p>
|
||||
<pre><%= h(@results) %></pre>
|
||||
<% end %>
|
||||
|
Reference in New Issue
Block a user