Skip to main content.
home | support | download

Back to List Archive

Re: error ?No search words specified? in -w foobar.*

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Nov 14 2005 - 12:58:05 GMT
On Mon, Nov 14, 2005 at 03:25:55AM -0800, mrandx wrote:
> 
> ==cut here==
> WordCharacters abcdefghijklmnopqrstuvwxyz0123456789._#$
> BeginCharacters abcdefghijklmnopqrstuvwxyz0123456789_#
> EndCharacters    abcdefghijklmnopqrstuvwxyz0123456789_
> ==cut here==
> 
> 
> !! Word character contains "." !!

Yes, but not EndCharacters.

So you can index "word.withdot" because the dot is not at the
beginning or ending of the word.

But...

> And now,  both
> swish-e.exe –w foobar.*

Swish applies the same processing to search words as it does when
indexing.  So the above search word is "foobar.", but swish doesn't
allow that as a word because it ends in a dot, and you said in your
EndCharacters to not allow that.

I would agree that's probably a problem with the parser.  That is, a
smarter parser would notice the wild card and ignore the fact that the
dot is not allowed there because there might be a match.


-- 
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 Mon Nov 14 04:58:06 2005