gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Bug When Writing Into Solr Store
Date Thu, 03 Sep 2015 05:41:47 GMT
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.

On Wed, Sep 2, 2015 at 2:52 PM, <dev-digest-help@gora.apache.org> 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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message