[Zope-dev] partial search performance problems...

2000-12-20 Thread John Eikenberry
I just did some tests on the performance of the partial matching features of ZCatalog. They weren't as good as I hoped. A Catalog of 2000 objects, text index on a 10 char string (person's last name), with a partial search that will match only 200 items... it takes 10 seconds. At 1000 matches it

Re: [Zope-dev] ZPatterns, ZClasses, Specialists: Assigning responsibilities

2000-12-20 Thread Itai Tavor
Phillip J. Eby wrote: >This should probably be more like: > >product.addMeToOrder(): > item = OrderLineItems.newLineItemFor(self) > item.setQuantity(...) > etc. > order.addLineItem(item) > >customizable_product.addMeToOrder(): > item = OrderLineItems.newLineItemF

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
Chris: You mean the -D in z2.py, right? > Jason, > > That logging is probably slowing things down too... shut it off to see if > you can get a performance increase. > > - Original Message - > From: "Jason Spisak" <[EMAIL PROTECTED]> > To: "Christopher Petrilli" <[EMAIL PROTECTED]> > Cc

Re: [Zope-dev] Loginmanager and local roles

2000-12-20 Thread Michael Bernstein
"Morten W. Petersen" wrote: > > [Morten W. Petersen] > > | Any suggestions? > > Found the problem. There needs to be a method called user_names > in the acl_users folder, which returns all the user ids: [snip solution] Sorry I didn't see your question earlier. Here was what I posted to the li

Re: [Zope-dev] RE: objectIds accessiblilty & and a proposal

2000-12-20 Thread Erik Enge
[Dieter Maurer] | There are objects, that should be usable by Anonymous inside DTML | but should not be viewable over the web (as they will only confuse). | All page components (such as "standard_html_header/footer") fall | into this category. Do you have any idea of how this could be done nicel

Re: [Zope-dev] RE: objectIds accessiblilty & and a proposal

2000-12-20 Thread Dieter Maurer
Toby Dickenson writes: > > ... protocol specific access rights ... > Please No. > > Zope security is complex enough without having to worry about > different security settings depending on how a method is accessed. > (And we should have a lower tolerance for complexity when it applies > to

[Zope-dev] calling SQL from External Method and using acquisition

2000-12-20 Thread Andy McKay
This is just an annoying namespace issue: - I'm calling SQL methods from External Methods by . - I can then call a SQL method by calling self.sql_method() But (there is always a but): - I have to manually pass all the arguments, very annoying. Work arounds that seem to work - manually pass all t

[Zope-dev] kill_zombies

2000-12-20 Thread Júlio Dinis Silva
Hi, since I started to use zeo, my medusa debug, /status/close_zombies stop to work. Is there another way to call this method close_zombies or kill_zombies? thanx, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN H

Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Christopher Petrilli
On 12/20/00 11:52 AM, "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> wrote: > KeyErrors - the logging says: > 2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not > remove 3 from set This is not the "KeyError" in the sense that it's not propogated up to the top level, but it is a

Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Itamar Shtull-Trauring
Christopher Petrilli wrote: > Are you getting KeyErrors or are you getting log messages complaining about > keyts not existing? KeyErrors - the logging says: 2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not remove 3 from set -- Email: itamar(at)shtull-trauring.org Web:

Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Christopher Petrilli
On 12/20/00 11:33 AM, "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> wrote: > I'm getting tons and tons of keyerrors when making changes to a catalogaware > object's keyword index and then reindex_object() it. Alternatively, the > Catalog doesn't get updated at all. Is there any way to prevent thi

[Zope-dev] Keyword Indexes causing Keyerrors

2000-12-20 Thread Itamar Shtull-Trauring
I'm getting tons and tons of keyerrors when making changes to a catalogaware object's keyword index and then reindex_object() it. Alternatively, the Catalog doesn't get updated at all. Is there any way to prevent this from happening, other than upgrading to 2.3? -- Email: itamar(at)shtull-traur

RE: [Zope-dev] RE: objectIds accessiblilty & and a proposal

2000-12-20 Thread Brian Lloyd
> >This is something that has come up before. I propose > >that the real problem here is that 'objectIds' should > >not be web-traversable. > > > >I have, in fact, proposed this before. It caused a bit > >of grumbling among people using xml-rpc, who were using > >objectIds remotely, so we neve

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Chris McDonough
Jason, That logging is probably slowing things down too... shut it off to see if you can get a performance increase. - Original Message - From: "Jason Spisak" <[EMAIL PROTECTED]> To: "Christopher Petrilli" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 20, 2000 9:2

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
Whew! I thought something was trashed. Thanks for your prompt replies guys! All my best, Christopher Petrilli writes: > Jason, > > This was accidentally uncommented in the 2.2.4 release, you can ignore it, > or comment out the message line in UnIndex.py. It's innocuous. > > Chris > -- > | C

Re: [Zope-dev] Performance enhancements, ZCatalog

2000-12-20 Thread Jason Spisak
Thanks Martijn. I remembered that, and now it is much, much better. Also, I disbled subtransactions, and increased the target size of the cache. All ofthat seems to be helping. Again, thanks. All my best, Martijn Pieters writes: > On Wed, Dec 20, 2000 at 12:56:36AM +, Jason Spisak wrote:

Re: [Zope-dev] Performance enhancements, ZCatalog

2000-12-20 Thread Martijn Pieters
On Wed, Dec 20, 2000 at 12:56:36AM +, Jason Spisak wrote: > ZCatalog enthusiasts, > > I just upgraded our zope installation from 2.1.6 to 2.2.4, and the ZCatalog > performance is aweful. Can someone remind me what the command for speeding > up python on a dual processor machine is? python -

Re: [Zope-dev] RE: objectIds accessiblilty & and a proposal

2000-12-20 Thread Toby Dickenson
On Mon, 18 Dec 2000 14:11:51 -0500, "Brian Lloyd" <[EMAIL PROTECTED]> wrote: >This is something that has come up before. I propose >that the real problem here is that 'objectIds' should >not be web-traversable. > >I have, in fact, proposed this before. It caused a bit >of grumbling among peop