Ruby on Rails
Friday, December 2, 2011
On Fri, Dec 2, 2011 at 11:10 AM, Somnath Mallick <lists@ruby-forum.com> wrote:
Ok.... So Sunspot and solr is one and the same thing?
I guess Solr is the fulltext engine (in java) and sunspot is a rubygem which "wraps" access to solr.
I tried this example...
http://techbot.me/2011/01/full-text-search-in-in-rails-with-sunspot-and-solr/
but when i run it i get the exception:
$ rake sunspot:solr:run
Requiring REXML
The syntax of the command is incorrect.
rake aborted!
You need a Java Runtime Environment to run the Solr server
Tasks: TOP => sunspot:solr:run
(See full trace by running task with --trace)
Any solution to this? I have JDK 1.7 installed with PATH variable
properly set.
--
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment