Skip to main content.
home | support | download

Back to List Archive

Re: Rogue stop word, "and"

From: Bill Moseley <moseley(at)>
Date: Sun Feb 06 2000 - 00:13:10 GMT
At 03:01 PM 02/05/00 -0800, Edwin Whitelaw wrote:
>After hacking this into production on our corporate web site,
>, the "word too common" error message is correctly
>displayed when searching for the listed stop words, EXCEPT for the word
>The swish.h file clearly shows "and" as a stop word.
>Any thoughts how this one is slipping through?

"And" is a boolean term and part of the search language.

see search.c
int isbooleanrule(word)
char *word;
	if (!strcmp(word, "and") || !strcmp(word, "or"))
		return 1;
		return 0;

Bill Moseley
Received on Sat Feb 5 19:26:23 2000