Skip to main content.
home | support | download

Back to List Archive

Re: bug when searching for single words containing non-wordcharacters ?

From: Bill Moseley <moseley(at)>
Date: Thu Mar 03 2005 - 09:46:22 GMT
On Thu, Mar 03, 2005 at 12:43:27AM -0800, Uwe Dierolf wrote:
> If we are searching like this
>    swish-e -w 'metaname=foo_bar'
> and if "_" is not defined as a searchable character (Wordcharacters)
> than internally swish-e does the following
>    swish-e -w 'metaname=foo bar'

Yep, I think that's the way it works.

> But this is not what we are looking for!
> This search means find "foo" in metaname and "bar" anywhere.

That's right.

> We are using as workaround the syntax which we have to use
> if we are looking for two or more words:
>    swish-e -w 'metaname=(foo_bar)'
> == swish-e -w 'metaname=(foo bar)'

That's exactly why there is the parenthesis.

> Is it a bug or a featurea?

Neither.  It's the search syntax.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Thu Mar 3 01:46:23 2005