Forum: JRuby Solr from scratch in 3 lines

Posted by Michel Guymon (Guest)
on 2012-09-03 09:16
(Received via mailing list)
Hello JRubian,

In the same vein as my 'Jetty in 3 lines', here is Solr in 3 lines -

gem install solr_sail
solrsail install
solrsail start

A Solr config is extracted and all 57 jar dependencies will be
automatically downloaded as part of the install step. In the start step,
the Jars are automatically loaded into the classpath and Solr is
started. To make this work, it only takes 3 Java classes (two are used
for extracting the Solr config) and 2 Ruby (excluding the version file).

My rambling blog post with more details -

http://blog.tobedevoured.com/post/30784789256/solr...


thanks,
Michael
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.