[recoll-user] Re: Indexing directories in /

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

On Fri, Sep 30, 2011 at 2:45 PM, <jfd@xxxxxxxxxx> wrote:

> Rainer M Krug writes:
>  >    Hi
>  >    I would like to index directories under / (in contrast to ~) which
>  >    contain configuration files (/etc) documentation (which directories
> are
>  >    those actually?) and binaries (for names). But I would only like to
>  >    re-index manually avery few days (in contrast to ~ which should be
>  >    indexed more regular, possibly watching the files). How can I achieve
>  >    this? Do I have to have two index files? How can Set this up? I
> assume
>  >    I can not set different update intervalls for different paths?
>
> You need two separate indexes. The one for / should add ~ to skippedPaths
> so that your home directory does not get indexed twice.
>
> https://bitbucket.org/medoc/recoll/wiki/MultipleIndexes
>
> http://www.lesbonscomptes.com/recoll/usermanual/book.html#RCL.SEARCH.MULTIDB
>
> http://www.lesbonscomptes.com/recoll/usermanual/book.html#RCL.INSTALL.CONFIG.RECOLLCONF
>
> On the other hand I'm not sure that indexing / is a great idea.
>
> "locate" does a good job with file names, and many interesting files in
> /etc/ are only readable by root (so won't be indexed). And there are quite
> a few temporary, db and spool directories that you'd probably want to skip.
>
> Just indexing /usr/share/doc and /usr/share/man (or even the whole
> /usr/share) might be a better approach.
>
>
Might be a better approach, just to specify the directories to index, but
stil use the "two index approach".

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: