Hi,
I am geting following erro when i try to implement "Search" using
Sunspot in rails.
Connection refused - {:data=>"fq=type%3AList&start=0&rows=30&q=*%3A*",
:method=>:post, :params=>{:wt=>:ruby}, :query=>"wt=ruby",
:headers=>{"Content-Type"=>"application/x-www-form-urlencoded;
charset=UTF-8"}, :path=>"select", :uri=>#<URI::HTTP
http://localhost:8982/solr/development/select?wt=ruby>,
:open_timeout=>nil, :read_timeout=>nil, :retry_503=>nil,
:retry_after_limit=>nil}
Extracted source (around line #8):
6
7
8
9
10
11
def index
@search = List.search do
fulltext params[:search]
end
@listss = @search.results
Rails.root: /home/ubuntu/workspace
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/18adf6e8ef6f782af0306c28882d1bdf%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment