Skip to main content.
home | support | download

Back to List Archive

Re: Paths in search

From: <jmruiz(at)not-real.boe.es>
Date: Tue Aug 01 2000 - 15:56:50 GMT
Andrew,

On 1 Aug 2000, at 2:05, Andrew Linn wrote:

> 
> Hi,
> 
> Don't think that the search does this at the moment
> but I could be wrong.
> 
> We have a filestore with different sections in it. All of these
> sections come under a root directory that describes that section.
> 
> We would like to be able to offer our users the ability of restricting
> thier searches to a particular area of the filestore (without having
> seperate indexes for each of the small sections). This would involve
> being able to search on the pathname stored in the index file.
> 
> Example:
> Out alerts index has a section for CERT in it. Most users will want
> to search all alerts but other users want the ability to search just
> the CERT section. The paths stored are:
>         /alerts/ - all alerts
>         /alerts/certcc/ - cert section
> 
> If this is possible I would be greatful. If it is not immediatly
> achievable then could I add it to the wish list.
> 

Sorry, at this moment, you can`t.
You can use a workaround: Search the entire filesystem and filter 
the output in your cgi script.
Of course, you can have two index files (one for /alerts and another 
one for /alerts/certcc/) and select the one the user wants in your 
cgi script.

cu
Jose
Received on Tue Aug 1 12:00:23 2000