Hi Lewis, Ok, I'll open an issue for it and attach a patch due to there is not an issue opened already.
Kind Regards, Furkan KAMACI 3 Eyl 2015 08:41 tarihinde "Lewis John Mcgibbney" <[email protected]> yazdı: > Hi Furkan, > > Please log an issue, tag it with gora-solr and either set it for 0.6.1 (if > you can fix it) or alternatively 0.7. > If you could provide a patch it would be most helpful. > Thanks > Lewis > > On Wed, Sep 2, 2015 at 2:52 PM, <[email protected]> wrote: > > > > > 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. > > > > I debugged Gora source code and decided that the best solution is > flushing > > documents before closing a Solr data store. However I saw that: > > > > @Override > > public void close() { > > // In testing, the index gets closed before the commit in flush() can > > happen > > // so an exception gets thrown > > // flush(); > > } > > > > Than I've run whole tests but didn't get any exception. Is there any Jira > > issue for this? Since this is critical for Solr users, I would like to > > solve it. > > > > >

