Skip to main content.
home | support | download

Back to List Archive

Re: phrase searching

From: Bill Moseley <moseley(at)>
Date: Mon Dec 22 2003 - 15:01:00 GMT
On Mon, Dec 22, 2003 at 04:07:04AM -0800, Mark Tynan wrote:
> Hi all,
> I'd like to know if swish 2.4.0 is meant to match phrases across line =
> breaks.
> I've tried all the obvious ways of doing this without success.
> I need to be able to do multi-line searches, is it possible without =
> pre-processing a line at a time?
> Any thoughts much appreciated.

Index an example document like this:

   $ swish-e -c myconfig.file -i sometestdoc.html -T indexed_words

and note the words that get indexed and their position (Pos:) number.
When doing a phrase search swish uses the position numbers.

Also see:

Bill Moseley
Received on Mon Dec 22 15:01:08 2003