Either a) fiddle with ZCatalog so it does or
b) add in an "and" in between search terms before the catalog a crude way
_.string.join(_.string.split(_.str(query),' '), ' and ' )
And thanks for the holiday wishes but we had Thanksgiving a month ago in
Andy McKay, Developer.
----- Original Message -----
From: "The Doctor What" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 8:12 PM
Subject: Re: [Zope] ZCatalog: setting default to AND (not OR).
> I'm sorry. I seem to have not explained myself very well.
> I want ZCatalog to use AND by default. I think the extended
> behaviour, being able to AND and OR keywords together is fine. I'm
> only concerned with the default behaviour (with *no* OR or AND
> When I first used zope.org's search engine, I couldn't figure out
> why if searched for "zcatalog siteaccess" it gave me (seemingly)
> every article on the site except the one(s) I wanted.
> It's because I expected AND to be the default (the union) of the two
> terms, not an OR list. Frankly, I don't think OR is useful at all
> by it self. It's usually with an AND that it's most useful.
> But that's just my humble opinion. Oh wait, I don't do humble....so
> that's just my opinion. ;-)
> I wish everyone a happy holiday, whether it's Thanksgiving or
> "Laborday/Thanksgiving" (as NPR said Japan was having).
> > > All good usability books (I'm going to just cite one: "Designing Web
> > > Usability: The Practice of Simplicity" by Jakob Nielsen
> > > http://www.useit.com/jakob/webusability/ ) say searches should be
> > > ANDed by default.
> > >
> > > ZCatalog is ORed by default. How do I change this behavior?
> > >
> > > Ciao!
> > >
> > > --
> > > Room Service? Send up a larger room.
> > > -- Groucho Marx
> > >
> > > The Doctor What: Guru to the Gods
> > > [EMAIL PROTECTED]
> > >
> Now is the time for all good men to come to.
> -- Walt Kelly
> The Doctor What: <fill in the blank> http://docwhat.gerf.org/
> [EMAIL PROTECTED] KF6VNC
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -