lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: Progress bar for indexing process.?
Date Wed, 04 Nov 2009 08:06:03 GMT
If you wanna do it on a per document basis you could possibly use a
reader that reports back the bytes / chars read and the total size of
the reader to build up the bar for each document indexed.

simon

On Wed, Nov 4, 2009 at 7:04 AM, Ted Dunning <ted.dunning@gmail.com> wrote:
> Just count how many documents have been indexed.  Simon was correct when he
> said it was relatively trivial.
>
> If you want slightly more refinement, you can record the total size of the
> indexed files.
>
> On Tue, Nov 3, 2009 at 9:36 PM, tarunsapra <t.sapra97@gmail.com> wrote:
>
>>
>> But the biggest problem in building it is ...like you have progress bar for
>> file upload where you know the exact size of flie and how much has been
>> uploaded but in that case of indezing is there a way to find out how much
>> total time it will take, only once we know the total time , then only we
>> would be able to build a progress bar.
>> Thanks
>>
>> Simon Willnauer wrote:
>> >
>> > There is no API which supports what you are asking for but building
>> > yourself should not be a problem at all.
>> >
>> > simon
>> >
>> > On Tue, Nov 3, 2009 at 3:10 PM,  <diego.cassinera@mercadolibre.com>
>> wrote:
>> >> Why not?  Indexing is very fast.
>> >> ------Original Message------
>> >> From: tarunsapra
>> >> To: general@lucene.apache.org
>> >> ReplyTo: general@lucene.apache.org
>> >> Subject: Progress bar for indexing process.?
>> >> Sent: Nov 3, 2009 10:19 AM
>> >>
>> >>
>> >> Is it possible to to have an Ajax progress bar for indexing process ?
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/Progress-bar-for-indexing-process.--tp26160110p26160110.html
>> >> Sent from the Lucene - General mailing list archive at Nabble.com.
>> >>
>> >>
>> >> Enviado desde mi BlackBerry® de Claro Argentina
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Progress-bar-for-indexing-process.--tp26160110p26191272.html
>> Sent from the Lucene - General mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Ted Dunning, CTO
> DeepDyve
>

Mime
View raw message