Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Using Solr in your project doesn't require that you have a Java stack for running the actual Rails app. There are <a href="http://github.com/search?langOverride=&amp;language=rb&amp;q=solr&amp;repo=&amp;start_value=1&amp;type=Repositories&amp;x=26&amp;y=19" rel="nofollow noreferrer">quite a few Ruby libraries</a> out there that would help you easily interface with the Solr backend. A few to look at:</p> <ul> <li><a href="http://wiki.apache.org/solr/solr-ruby" rel="nofollow noreferrer">solr-ruby</a> &ndash; This is the official client library included with the Solr distribution. It's lower-level than some of the other alternatives, but gives you some good flexibility in accomplishing what you need to.</li> <li><a href="http://github.com/mwmitchell/rsolr/" rel="nofollow noreferrer">rsolr</a> &ndash; Another lower-level library that looks like a replacement to solr-ruby. At first glance it appears to be more frequently updated.</li> <li><a href="http://github.com/outoftime/sunspot/" rel="nofollow noreferrer">sunspot</a> &ndash; I have not used this, but it looks like it's currently the most popular Solr => Ruby object mapping library. The <a href="http://github.com/railsfreaks/acts_as_solr" rel="nofollow noreferrer">acts_as_solr</a> library was once an option, but I think that it has since fallen out of favor.</li> </ul> <p>I agree with the other posters that you would want to target a C Ruby / *NIX environment, but if using Tomcat/JRuby helps you learn this faster, go for it.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload