On Wed, Jun 04, 2003 at 06:55:17AM -0700, Ander wrote:
> Hi:
>
> I'm attempting to define "or" as my default searching rule. So I've
> changed DEFAULT_RULE to OR_RULE in the config.h file.
> I've compiled swish-e again, but the default rule still is "and". What's
> wrong?
We all use Google and like default being AND!
(this diff is on the current cvs, but you can just look in search.c and
fix):
Index: search.c
===================================================================
RCS file: /cvsroot/swishe/swish-e/src/search.c,v
retrieving revision 1.122
diff -u -u -r1.122 search.c
--- search.c 21 Apr 2003 07:20:00 -0000 1.122
+++ search.c 4 Jun 2003 17:25:54 -0000
@@ -1149,7 +1149,7 @@
if (rulenum == NO_RULE)
- rulenum = AND_RULE;
+ rulenum = DEFAULT_RULE;
if (isunaryrule(word)) /* is it a NOT? */
--
Bill Moseley
moseley@hank.org
Received on Wed Jun 4 17:29:01 2003