Skip to main content.
home | support | download

Back to List Archive

Re: searching a subset of an index

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Mar 22 2006 - 05:32:07 GMT
On Tue, Mar 21, 2006 at 09:11:37PM -0800, Sean wrote:
> Thanks Bill,
> 
> Just what I was looking for. Is there any advantage to using this over
> "ExtractPath" ?

ExtractPath lets you pull out just part of the path based on a
regular expression, where as swishdocpath would index all the "words"
in the path.

Say you were trying to limit searches to the "manual" part of
your site with urls like:  /site/manual/chapter1/index.html

If you use swishdocpath and limit by swishdocpath=manual

then you could also match:

    /site/wiki/pages/manual.html

which is probably not what you want.

-- 
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 Tue Mar 21 21:32:08 2006