lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi" <>
Subject RE: Optimize/Indexing progress state - time remaining
Date Tue, 25 Oct 2005 10:38:37 GMT
Hi Olivier,

This information may solve your problem, but it's a plan
on Lucene 2.0:

Lucene 2 Whiteboard

Other Changes
2. Implement a callback interface for processes which can run for several
like IndexWriter.optimize(). The idea is to define a simple public interface
which can be
implemented by developers using lucene. The object implementing the
could be passed to methods like optimize() and can inform the caller when
of the steps to process has finished. This would make it much easier in
applications to inform the user that the system is working and not frozen.

Thank you,


> -----Original Message-----
> From: Olivier Jaquemet []
> Sent: Tuesday, October 25, 2005 5:32 PM
> To: Lucene Java User ML
> Subject: Optimize/Indexing progress state - time remaining
> Hi all,
> Is there a nice way to get information regarding the current progress
> state of any/all those operations:
> - IndexWriter optimize
> - IndexWriter index
> - IndexReader delete
> For example, having a synchronized method to retrieve a percentage of
> completion from writer/reader in another thread would be great! And then
> it would be quite easy to compute an estimated time remaining for my
> users to know what's happening when they want to reindex all their
> content or do anything quite time consuming.
> I could not find anything in the API nor on the ML regarding this.
> Any suggestions?
> Olivier
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message