incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spicar (JIRA)" <>
Subject [jira] [Commented] (CLEREZZA-564) CRIS: call optimize in an extra thread
Date Wed, 22 Jun 2011 08:24:47 GMT


Daniel Spicar commented on CLEREZZA-564:

Lucene does already run merge in extra threads internally. A non-blocking call can be ensured
using the optimize(boolean doWait) method when using the ConcurrentMergeSheduler (default).

However care should to be taken, to not close the Writer while a merge is running.

> CRIS: call optimize in an extra thread
> --------------------------------------
>                 Key: CLEREZZA-564
>                 URL:
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
> Comment from Tommaso (see
> A possible enhancement could be to create an OptimizeThread with a timeInterval constructor
which optimizes the index, if there is not "much" activity (i.e.: analyze isLocked, InfoStream,
etc), every timeInterval seconds.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message