mirror of https://github.com/apache/lucene.git
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:
parent
8b963995a0
commit
db6cbaa709
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue