Skip to content

Apache Lucene open-source search software

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

Erik Hatcherdb6cbaa70948
diff --git a/client/ruby/solrb/README b/client/ruby/solrb/README
index f3dc627b7ab..da90cc37321 100644
--- a/client/ruby/solrb/README
+++ b/client/ruby/solrb/README
@@ -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')