[Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Erik Enge
Hi, I was wondering, is there a way I can choose whether I want searchResults to Or, Not or And the search? Or do I need to combine searchResult calls and what not? ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
No, unfortunately. You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Erik Enge wrote: Hi, I was wondering, is there a way I can choose whether I want searchResults to Or, Not or And the search? Or do I need to combine searchResult

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Erik Enge
On Wed, 18 Apr 2001, Chris McDonough wrote: You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Is this a feature to be implemented? If not, why not? Oh, and by the way, "searchRequest"? ___

RE: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Marco Nova
On Wed, 18 Apr 2001, Chris McDonough wrote: You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Is this a feature to be implemented? If not, why not? DC has no no concrete plans to implement operators or precedence in

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
Marco Nova wrote: DC has no no concrete plans to implement operators or precedence in catalog queries, although I think it's a really super-worthwhile idea. We're currently focusing on the things in the Zope 2.4 plan (see http://dev.zope.org/Resources/zope_240_plan.html). If someone

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
BTW, it *is* possible to use AND, NOT, OR, and ANDNOT in the body of a textindex query, e.g. dtml-in "Catalog(textindex="foo and bar or farfoo andnot flea") This is not a problem. But the original question (and what is not possible currently), is how to do something like: dtml-in

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
Chris McDonough wrote: Erik Enge wrote: On Wed, 18 Apr 2001, Chris McDonough wrote: You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Is this a feature to be implemented? If not, why not? DC has no no concrete plans

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
This is a project I have been keeping in the back of my mind for a while now. At present I do not have the resources to devote, but it is my hope that this will change. I feel strongly that that ZCatalog should have a general query language on par with an SQL where clause. Much of the work

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
Chris McDonough wrote: BTW, some changes are coming to the way we allow contributions to the Zope codebase which have the potential to reduce the DC "drag factor" for this and other similar projects. - C I await this process change with great curiousity. As for the ZCatalog proposal, I

Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Godefroid Chapelle
Steve Alexander a crit : Godefroid Chapelle wrote: where getNames is a python method in a DataSkin Class Extender. It is defined as : import string list = string.split(context.id, '_') return list[1] use getId() perhaps? --

[Zope-dev] WebDAV etc permissions (Re: zope nautilus cabal)

2001-04-18 Thread Lalo Martins
On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote: The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its own port (and only that port) or more explicit permissions need to be associated with WebDAV/XMLRPC operations if we take for granted that being able to

Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Steve Alexander
Godefroid Chapelle wrote: When using context.getId(), I get the id of the specialist, not of the HumanClass instance... use container.getId() Also, try setting a proxy role on the SkinScript. -- Steve Alexander ___ Zope-Dev maillist -

[Zope-dev] WebDAV locking module?

2001-04-18 Thread richard
Colour me confused... I just downloaded the 2.3.2 beta tarball and tried to run our application against it. It appears that the locking module (webdav.Lockable) is missing from webdav. We develop against the CVS, and the file is there. It has been since 2.3.1 CVS - though the 2.3.1 tarball

[Zope-dev] Re: [Zope] CatalogAware does not work?

2001-04-18 Thread Casey Duncan
John Morton wrote: Why couldn't CatalogAware do this? If nobody has a good reason, I might push forth a patch to CatalogAware to implement this. A simple case for the present flexibility is that you don't need to reindex for every property change, just the ones that are actually

Re: [Zope-dev] WebDAV etc permissions (Re: zope nautilus cabal)

2001-04-18 Thread Bill Anderson
On 18 Apr 2001 15:39:20 -0300, Lalo Martins wrote: On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote: The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its own port (and only that port) or more explicit permissions need to be associated with WebDAV/XMLRPC

Re: [Zope-dev] memory leak

2001-04-18 Thread Karl Anderson
This turns out to be a memory leak in ParsedXML. DOM references created during a parse aren't released. We hope to have a new release very soon that fixes this. Restarting Zope is a temporary workaround - DOM refs retrieved from the DB aren't being leaked. -- Karl Anderson

[Zope-dev] ZCatalog catalogable types and nonproducts

2001-04-18 Thread Karl Anderson
I have a Python Product with several subobjects which are not products in their own right. I'm trying to make these subobjects selectable in the Find Objects tab of a ZCatalog, so I can restrict the cataloged objects to these types. Whats the right way to do this? Since they're not addable

[Zope-dev] External transaction integration bug?

2001-04-18 Thread Randall F. Kern
I may just be missing something obvious here, but it seems like there is a hole in ZODB.Transaction.Transaction.commit and Shared.DC.ZRDB.TM.TM, that can cause external transactions (those that use the TM mixin class, like psycopg) to be abandoned (never get committed or rolled back). Let's say