Skip to main content.
home | support | download

Back to List Archive

Re: stopwords in queries not really removed

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Jul 05 2005 - 20:51:53 GMT
On Tue, Jul 05, 2005 at 01:19:55PM -0700, Bernhard Weisshuhn wrote:
> Hi *,
> 
> I guess I just fell victim to the phenomenon mentioned here:
> 
>   http://www.swish-e.org/archive/2000-02/1577.html
> 
> Say, "stop" is a stopword, foo is a metaname.
> 
> Searching for "foo=bar and foo=stop" is rewritten to "foo = bar and",
> which gives the correct result, since the trailing "and" is ignored.
> 
> But!  "foo=bar and foo=stop and foo=baz" becomes:
> "foo = bar and foo = and foo = baz".
> 
> Even uglier: "foo=bar and (foo=stop)" becomes "foo=bar and (foo=)".
> And so on....
> 
> Ohmygod, not that ole queryparser again...

Yes.  It really sucks.

-- 
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 Jul 5 13:51:54 2005