Re: [Zope] ZCatalog: How to request boolean NOT searches?
Doug Morse writes:
... negating a ZCatalog index lookup ...
Only ZCatalog text indexes support a restricted form of negation. Keyword and field indexes do not. Text indexes support only "and not": e.g. "Zope and not databases". Free standing "not" or combined with "or" (rather than "and") is not supported. Dieter
Dieter,
Doug Morse writes:
... negating a ZCatalog index lookup ...
Only ZCatalog text indexes support a restricted form of negation. Keyword and field indexes do not. Text indexes support only "and not": e.g. "Zope and not databases". Free standing "not" or combined with "or" (rather than "and") is not supported.
Super, thanks Dieter! Not the answer I was hoping to hear, but it least it's definitive. ;-) I am curious: Do others think this feature might be worth adding to the ZCatalog? If so, perhaps it should work its way into a proper feature request... Cheers! Doug Morse morse@pobox.com
Andy McKay wrote:
I am curious: Do others think this feature might be worth adding to the ZCatalog? If so, perhaps it should work its way into a proper feature request...
Yes definitely.
Well, where is the query syntax for ZCatalog actually documented? It'd be great if it was more flexible, applied to indexes other than TextIndexes and was actually documented... Any ideas? Chris
Chris, I also had great difficulty in finding any relevant documentation... (re: specifics regarding text and field searches against a ZCatalog)... So, it sounds like we should (a) make a feature request and (b) make a documentation request. I'm more than happy to write up and submit such requests. Heck, I'd been even happy to tackle coding the improvements, but I'd need someone very familiar with the ZCatalog implementation to give me some direction to get me going (i.e., how he or she would recommend the change be implemented). But, I'm quite new to the Zope world, and have no idea where one goes to request a feature, or request documentation, or even where one goes to offer help coding. Anyone want to point me in the right direction? ;-) Cheers, Doug Morse morse@pobox.com On Wed, Nov 29, 2000 at 02:38:30PM +0000, Chris Withers wrote:
Andy McKay wrote:
I am curious: Do others think this feature might be worth adding to the ZCatalog? If so, perhaps it should work its way into a proper feature request...
Yes definitely.
Well, where is the query syntax for ZCatalog actually documented?
It'd be great if it was more flexible, applied to indexes other than TextIndexes and was actually documented...
Any ideas?
Chris
The place to start might be to actually help write some documentation. There is a docs process description at http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/Documentatio nGuide . This should at least give you an idea of how to proceed. ----- Original Message ----- From: "Doug Morse" <morse@pobox.com> To: "Chris Withers" <chrisw@nipltd.com> Cc: "Andy McKay" <andym@ActiveState.com>; "Dieter Maurer" <dieter@handshake.de>; <zope@zope.org> Sent: Wednesday, November 29, 2000 9:38 PM Subject: Re: [Zope] ZCatalog: Query Syntax
Chris,
I also had great difficulty in finding any relevant documentation... (re: specifics regarding text and field searches against a ZCatalog)...
So, it sounds like we should (a) make a feature request and (b) make a documentation request. I'm more than happy to write up and submit such requests. Heck, I'd been even happy to tackle coding the improvements, but I'd need someone very familiar with the ZCatalog implementation to give me some direction to get me going (i.e., how he or she would recommend the change be implemented).
But, I'm quite new to the Zope world, and have no idea where one goes to request a feature, or request documentation, or even where one goes to offer help coding. Anyone want to point me in the right direction? ;-)
Cheers, Doug Morse morse@pobox.com
On Wed, Nov 29, 2000 at 02:38:30PM +0000, Chris Withers wrote:
Andy McKay wrote:
I am curious: Do others think this feature might be worth adding to the ZCatalog? If so, perhaps it should work its way into a proper feature request...
Yes definitely.
Well, where is the query syntax for ZCatalog actually documented?
It'd be great if it was more flexible, applied to indexes other than TextIndexes and was actually documented...
Any ideas?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Chris McDonough wrote:
The place to start might be to actually help write some documentation. There is a docs process description at http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess/Documentatio nGuide . This should at least give you an idea of how to proceed.
Doug, If you make a start with this, I'll see if I can help (although the problem is that while I use the catalog, I don't actually seem to know a lot about how it works, because so little of it is documented). I'd love to have a decent, working Catalog, but I'm under more than a little time pressure with other things right now :-S Chris
participants (5)
-
Andy McKay -
Chris McDonough -
Chris Withers -
Dieter Maurer -
Doug Morse