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)not-real.hank.org>
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.

http://search.apache.org/ uses that feature if you want to see an
example.


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

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Fri Dec 2 15:13:23 2005