
From Geoffrey.R.Hutchison@williams.edu Sun Nov 22 12:50:29 1998
Date: Sun, 22 Nov 1998 13:58:10 -0500
From: Geoff Hutchison <Geoffrey.R.Hutchison@williams.edu>
To: Zvi Har'El <rl@math.technion.ac.il>
Cc: "Timothy P. Peterman" <timothy.p.peterman@lmco.com>,
    "ht://Dig mailing list" <htdig@sdsu.edu>
Subject: Re: htdig: dog and cat

At 3:49 AM -0500 11/16/98, Zvi Har'El wrote:
>The bug was both in 3.0.8b2 and 3.1.0b2

Try this:

*** htdig3/htsearch/htsearch.cc Sat Oct 31 19:00:40 1998
--- htdig3.dev/htsearch/htsearch.cc     Thu Nov 19 00:23:51 1998
*************** setupWords(char *allWords, List &searchW
*** 373,378 ****
--- 373,382 ----
        }
        if (badWords.IsValid(p))
            parsedWords << p << ' ';
+       if (boolean && ((mystrncasecmp(p, "or", 2) == 0) ||
+                       (mystrncasecmp(p, "and", 3) == 0) ||
+                       (mystrncasecmp(p, "not", 3) == 0)))
+           parsedWords << p << ' ';
      }

      parsedWords.chop(' ');


-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.
