Skip to main content.
home | support | download

Back to List Archive

Re: swish.cgi : limiting searches to a subset of documents

From: Bill Moseley <moseley(at)>
Date: Fri Dec 02 2005 - 23:13:22 GMT
On Fri, Dec 02, 2005 at 02:56:13PM -0800, David Larkin wrote:
> The swish.cgi description says ....
> Features include ........., limiting searches to a subset of documents, 
> Does that mean what I hope it means ?

Look at the config at the top of swish.cgi and look for
"select_by_meta" (which should be commented out by "Xselect_by_meta".

Basically, you add some meta tag to each set of documents then that
feature adds ' AND site="foo"' to the query to limit the search. uses that feature if you want to see an

The "extract_path" feature can be used to create that metaname value
based on the path.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Fri Dec 2 15:13:23 2005