FAQ Database Discussion Community


Having Trouble Starting Sunspot Rails 4.2

ruby-on-rails,windows,solr,sunspot
Having issues getting sunspot started. I'm on rails 4.2 and Windows 8. I just installed the gems sunspot_rails and sunspot_solr. The install command works perfectly fine but when I run rake sunspot:solr:start I get this error This command is not supported on i386-mingw32. Use rake sunspot:solr:run to run Solr in...

Rails4 + sunspot search

mysql,ruby-on-rails,solr,sunspot
I am trying to use sunspot solr for searching with Rails 4 and mysql. I defined a searchable block in my model(eg XYZ): searchable do text :name, :stored => true string :id, :stored => true end I just want to search in "name". The "id" is the primary key. There...