diff --git a/solr/client/ruby/solr-ruby/lib/solr/indexer.rb b/solr/client/ruby/solr-ruby/lib/solr/indexer.rb index 5210f05a7c4..863510c8bc1 100755 --- a/solr/client/ruby/solr-ruby/lib/solr/indexer.rb +++ b/solr/client/ruby/solr-ruby/lib/solr/indexer.rb @@ -42,7 +42,7 @@ class Solr::Indexer end add_docs(buffer) if !buffer.empty? - @solr.commit unless @debug + @solr.commit unless @debug # TODO: provide option to not commit end def add_docs(documents)