adjust README to have autocommit specified so the rest of the example works as-is

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496872 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-01-16 22:03:44 +00:00
parent 8b963995a0
commit db6cbaa709
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ First launch Solr.
In a separate shell, launch irb -Ilib.
# connect to the solr instance
conn = Connection.new('http://localhost:8983/solr')
conn = Connection.new('http://localhost:8983/solr', :autocommit => :on)
# add a document to the index
conn.add(:id => 123, :title => 'Lucene in Action')