[recoll-user] Re: Status of initial indexing?

  • From: Rainer M Krug <r.m.krug@xxxxxxxxx>
  • To: recoll-user@xxxxxxxxxxxxx
  • Date: Fri, 30 Sep 2011 10:44:47 +0200

On Thu, Sep 29, 2011 at 9:29 PM, Jean-Francois Dockes <jfd@xxxxxxxxxx>wrote:

> Rainer M Krug writes:
>  >    Hi
>  >    is there a way of seeing the status of the indexing? i.e. number of
>  >    files indexed, how may more to go, and so on?
>  >    Rainer
>
> I'll suppose that you are using the command line program.


Yes - sorry for not mentioning it.


> > I think that the
> easiest way to know what is happening is to set the log level to 4 or more
> and tail -f the log file.
>

That's an idea - I will try it out.


>
> Alternatively you could query the db with a low level tool to retrieve the
> number of documents, or even the list, but depending on how much buffering
> is going on this can be quite far off the actual count (if you want to go
> this route you can use the "xadump" tool which is built in the same
> directory as "recollq").
>
> I usually use the log file when I want to monitor things.
>
> You can interrupt the indexing process at any point (ie to change the log
> parameters) with limited loss: you are losing the file system walk and up
> to date checks to the current point, and the current file. The walk is
> usually
> negligible, but if you are indexing a mail folder with 1000000 messages,
> redoing the current file may be an issue. recollindex will need a few
> seconds to acknowledge the interrupt, to put things in order.
>

I will come back if I have further questions.

Thanks,

Rainer


>
> Cheers,
>
> jf
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@xxxxxxxx

Skype:      RMkrug

Other related posts: