Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Limiting searches with swishdocpath and swish.cgi

From: Bill Moseley <moseley(at)>
Date: Fri Sep 07 2007 - 20:24:26 GMT
On Fri, Sep 07, 2007 at 03:48:17PM -0400, Dustin Masterson wrote:
> Hello,
> I'm successfully gotten swish-e indexing things and the searching with 
> swish.cgi is working just fine too.
> I am wondering if there is a way, using swish.cgi to limit searches to only 
> certain document paths. What I'm looking to do is provide a text box for 
> users to search  swishdefault and then a drop down menu for them to limit 
> the search to certain areas of the site (eg searching swishdocpath). I did 
> not see mention of this in the swish.cgi documentation. From looking under 
> the hood it looks like you can only search multiple metaNames with the same 
> search terms, while what I'm looking to do is search swishdefault with 
> search term a while I search swishdocpath with search term b. Any advice 
> would be lovely.

Open up swish.cgi in a editor and look near the top for comments about ExtractPath.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:

Users mailing list
Received on Fri Sep 7 16:24:26 2007