Description
I was testing to write into Solr database and I realized that it doesn't commit documents which are at last buffer when buffer is not equal to default commit size. For example, run LogAnalytics example with a configuration of reading from Hbase and persisting results into Solr. Result size should be 3300 but when you check Solr you will see that it is less than it.