lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "solrb" by ErikHatcher
Date Mon, 05 Feb 2007 08:52:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by ErikHatcher:
http://wiki.apache.org/solr/solrb

The comment on the change is:
use solrshell instead of IRB directly.

------------------------------------------------------------------------------
   * Check out solrb {{{svn co http://svn.apache.org/repos/asf/lucene/solr/trunk/client/ruby/solrb}}}
   * {{{cd solrb/solr}}}
   * Launch Solr: {{{java -jar start.jar}}}
-  * (in a separate shell) Launch IRB: {{{cd solrb ; irb -Ilib}}}
+  * (in a separate shell) Launch solrshell: {{{cd solrb ; script/solrshell}}}
  
  {{{
-   require 'solr'  # load the library
-   include Solr    # Allow Solr:: to be omitted from class/module references
- 
    # connect to the solr instance
    conn = Connection.new('http://localhost:8983/solr', :autocommit => :on)
  

Mime
View raw message