Skip to main content.
home | support | download

Back to List Archive

stopwords in queries not really removed

From: Bernhard Weisshuhn <bkw(at)not-real.weisshuhn.de>
Date: Tue Jul 05 2005 - 20:20:48 GMT
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...

cheers,
  bkw
Received on Tue Jul 5 13:20:53 2005