Skip to main content.
home | support | download

Back to List Archive

Re: Searching with a great number of index files

From: David Hoare <dh2(at)>
Date: Mon Dec 16 2002 - 10:58:37 GMT

I don't know if this helps but I get around the problem of using multiple 
index files by using MetaNames or PropertyNames. In my case I sometimes 
need to limit the search to a specific year (or years) which is part of 
the directory sructure 

eg ... /dir/1996/blah ...

so in my conf file I have -

MetaNames year
PropertyNames year

(not sure I need both of these)

then I use 

ExtractPath year regex !^/.*/dir/([0-9]+)/.+$!$1!

So then I have the script add a term of the form "year = ( YR1 or YR2 etc)"
to the searh term.

Hope this helps,


On Sat, 14 Dec 2002, Yann wrote:

> Hello,
>   i wanted some informations about performance while searching in a large
> number of index files, such as 50.. i wanted to do so in order to allow
> the user to search only among rfcs, or only among man's, or among mysql
> doc... (i'm working on a large documentation site).
>  Do you think that it is a good way to create so much index files to
> achieve that, having in mind that most often the search will request all
> the indexes? Is there any other way to do what I want?
>  Thanks in advance.
>  Yann Hamon
Received on Mon Dec 16 10:58:54 2002