Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
-- | Christopher Petrilli | [EMAIL PROTECTED] - Original Message - From: "Jason Spisak" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 7:39 PM Subject: [Zope-dev] ZCatalog very unhappy Help! Using the Catalog in 2.2.4 2000-12-20T00:59:58 ERROR(20

Re: [Zope-dev] ZCatalog very unhappy

2000-12-20 Thread Jason Spisak
OTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 20, 2000 9:27 AM Subject: Re: [Zope-dev] ZCatalog very unhappy Whew! I thought something was trashed. Thanks for your prompt replies guys! All my best, Christopher Petrilli writes: Jason, This was accidentally unco

Re: [Zope-dev] ZCatalog scalability...

2000-12-06 Thread Chris Withers
John Eikenberry wrote: the potential of up to 50,000 entries. Using a ZCatalog for listings This may cause you real problems, especially if there's a 'bulk data load' at any point. Cheers, Chris PS: How's the catalog revamp coming along? Any published ZSearch interface yet?

Re: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Chris Withers
Casey Duncan wrote: OK, what this patch does is allow you to concatenate ZCatalog result sequences (Lazy sequences) without loading the whole enchilada into memory. It also dispenses with the funky workaround/hack notation that currently exists (although it still works AFAIK). Once this

Re: [Zope-dev] ZCatalog index error

2000-11-09 Thread Andy McKay
EMAIL PROTECTED] Sent: Tuesday, November 07, 2000 12:02 PM Subject: Re: [Zope-dev] ZCatalog index error Ah sorry, I have custom CatalogAware class thats been a bit hacked but was written by Mike Pelletier... when he was hanging around at ActiveState for a few days. Theres a link to wiki on i

Re: [Zope-dev] ZCatalog index error

2000-11-09 Thread Chris McDonough
MAIL PROTECTED] Sent: Thursday, November 09, 2000 2:31 PM Subject: Re: [Zope-dev] ZCatalog index error I found this in the archive. Is this the patch I need or is it more complex, it seems strange that it hasnt been implemented... http://zope.nipltd.com/public/lists/dev-archiv

Re: [Zope-dev] ZCatalog index error

2000-11-09 Thread Andy McKay
Thursday, November 09, 2000 12:03 PM Subject: Re: [Zope-dev] ZCatalog index error I have no idea about this, but I know that this isn't all you need - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; "Christopher

Re: [Zope-dev] ZCatalog index error

2000-11-07 Thread Christopher Petrilli
How are you getting things indexed and reindexed in the Catalog, if I might ask? Chris - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 06, 2000 6:42 PM Subject: Re: [Zope-dev]

Re: [Zope-dev] ZCatalog index error

2000-11-07 Thread Andy McKay
- From: "Christopher Petrilli" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 07, 2000 7:27 AM Subject: Re: [Zope-dev] ZCatalog index error How are you getting things indexed and reinde

Re: [Zope-dev] ZCatalog index error

2000-11-07 Thread Christopher Petrilli
Well im not sure how much deleting the index and then recreating the index throught the management interface actually does. But I wrote an external method to basically do a find and apply to recatalog bunches of objects. Actually i meant originally, not the second time. Are you using

Re: [Zope-dev] ZCatalog index error

2000-11-07 Thread Andy McKay
opher Petrilli" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 07, 2000 10:13 AM Subject: Re: [Zope-dev] ZCatalog index error Well im not sure how much deleting the index and then r

Re: [Zope-dev] ZCatalog index error

2000-11-06 Thread Chris McDonough
2000 4:17 PM Subject: [Zope-dev] ZCatalog index error Im running into an odd bug with ZCatalog: I have am running a catalog query and Im getting this message. File D:\zope\lib\python\Products\ZCatalog\Lazy.py, line 193, in __getitem__ File D:\zope\lib\python\Products\ZCatalog\

Re: [Zope-dev] ZCatalog index error

2000-11-06 Thread Andy McKay
nough" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 06, 2000 3:49 PM Subject: Re: [Zope-dev] ZCatalog index error Andy, This is a known issue with the catalog (searching the collector for "key error" will show you h

[Zope-dev] ZCatalog + ZCatalog

2000-10-23 Thread Casey Duncan
I am making it my mission to enhance the beast that is ZCatalog. This is the first of many improvements I hope to make to it as time goes on. DISCLAIMER This patch has only been moderately tested, and all side affects are not known. I am submitting it here for review before adding it to the

Re: [Zope-dev] ZCatalog uniqueValuesFor() cached?

2000-10-04 Thread Chris Withers
Stick it in the collector: http://classic.zope.org:8080/Collector/ Chris Brett Carter wrote: How can I update the uniqueValuesFor()? Whenever I delete one of my ZCatalog-aware zclasses, they are still returned in uniqueValuesFor. What gives? is this cached or something? -Brett

Re: [Zope-dev] ZCatalog with UTF-8 Chinese

2000-09-28 Thread Zope mailing lists
On Thu, 28 Sep 2000, Sin Hang Kin wrote: After reading some code of query, I think the regular expression operations which in parse, quotes and parse2 were not safe for utf8 string. So, I That wouldn't surprise me. decide to emulate what they do. However, I do not understand what getlexicon

[Zope-dev] ZCatalog with UTF-8 Chinese

2000-09-27 Thread Sin Hang Kin
Dear Developer: Trying to short-cut UNTEXTINDEX to handle UTF-8 Chinese, I need some help. After reading some code of query, I think the regular expression operations which in parse, quotes and parse2 were not safe for utf8 string. So, I decide to emulate what they do. However, I do not

[Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Sin Hang Kin
HI, I have a project which need search with Chinese. I think I can make Zcatalog to search Chinese in utf8. So I change Voodoo Kludge Splitter.py to convert the input string to unicode (assume it is utf8) and make a version of split of my own (see the attached splitter.py). I borrow (stolen)

Re: [Zope-dev] ZCatalog : UTF-8 Chinese

2000-09-25 Thread Zope mailing lists
On Mon, 25 Sep 2000, Sin Hang Kin wrote: I generate the search interface, and test it. However, the search of the index terms return nothings. I search most entries found in the vocubalury but none works, those work will return many unwanted results also. What is causing this failure? What

[Zope-dev] ZCatalog: text searches fail with sort_on + patch

2000-09-01 Thread Steve Alexander
I'm getting an error in Catalog when I specify sort_on on a field-index, and also search on a text index. Zope 2.2.1, Python 1.5.2 Error Type: TypeError Error Value: loop over non-sequence Traceback (innermost last): File lib/python/ZPublisher/Publish.py, line 222, in publish_module File

Re: [Zope-dev] ZCatalog brains

2000-08-14 Thread Chris Withers
Steve Alexander wrote: Although there are ways to do this now, I guess I was wondering about making it a standard part of catalogs. I'm sure code will be greatfully recieved ;-) Thinking further though, if it is as easy as adding "url" to the catalog's metadata, why bother? Hmm, how about

Re: [Zope-dev] ZCatalog brains

2000-08-10 Thread Chris Withers
Steve Alexander wrote: Is there any good reason that the "brains" returned by ZCatalog searches don't have a standard property that reflects the URL of the object they have meta-data from? That sounds like a good idea :-) This would seem to me to be more object-oriented, and would save

[Zope-dev] ZCatalog brains

2000-08-09 Thread Steve Alexander
Is there any good reason that the "brains" returned by ZCatalog searches don't have a standard property that reflects the URL of the object they have meta-data from? This would seem to me to be more object-oriented, and would save calls to someCatalog.getpath(data_record_id_) in loops. Am I

[Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Chris Withers
Hi there, While playing with Squishdot to make it more ZSearch-friendly, I noticed that ZCatalog isn't actually ZSearch friendly either. I think the following patch corrects that, if peopel agree, I'll stick it in the collector. cheers, Chris ___

Re: [Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Chris Withers
D'Oh! Here's the file... Chris --- ZCatalog.py.old Thu Aug 3 15:17:05 2000 +++ ZCatalog.py Thu Aug 3 15:21:25 2000 @@ -392,7 +392,7 @@ def _searchable_result_columns(self): r = [] -for name in self._catalog.indexes.keys(): +for name in

Re: [Zope-dev] ZCatalog and ZSearch Interface

2000-08-03 Thread Martijn Pieters
On Thu, Aug 03, 2000 at 04:07:31PM +0100, Chris Withers wrote: D'Oh! Here's the file... Chris --- ZCatalog.py.old Thu Aug 3 15:17:05 2000 +++ ZCatalog.py Thu Aug 3 15:21:25 2000 @@ -392,7 +392,7 @@ def _searchable_result_columns(self): r = [] -

[Zope-dev] ZCatalog and ZEO

2000-07-25 Thread Johan Carlsson
I have started to use ZCatalog for a great deal of thing, but I'm a little bit conserned about scalability. If I whan to move my applications to a ZEO configuration how will my ZCatalogs be distributed. I use ZCatalogs alote and they may become quite large, so what will happen when a ZCatalog is

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Dieter Maurer
Chris Withers writes: I seem to remember Michel being a little less than happy when he saw that code. Quite frankly, I still don't have much confidence in (Z)Catalog (still no docs for all the cool stuff, dodgy bugs and few responses when they're raised...) which is a shame since

Re: [Zope-dev] ZCatalog lexicon bug is back?

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: I am very interested in ZCatalog. I promiss that I will look into it, when I come to 2.2. Thanks, Documentation of the cool stuff which is already there, and making it work 100% reliably are the two main things... cheers, Chris

[Zope-dev] ZCatalog lexicon bug is back?

2000-07-03 Thread R. David Murray
This is distressing. I'm building a new shopping cart site, and doing it under 2.2.0 CVS (as of 7/1). I've added four items. If I search for certain keywords that I know only appear on one item, I get two items returned. The other item has no trace of the specified keyword. This sounds very

Re: [Zope-dev] ZCatalog text index search bugs?

2000-06-13 Thread Dieter Maurer
R. David Murray writes: I am very confused. I'm looking at the SearchIndex source under 2.1.4 (2.1.6 seems to be the same). In Lexicon.py the 'query' method defines the default_operator to be 'or'. I can't see that TextIndex overrides this when it calls it. But the response to

[Zope-dev] ZCatalog text index search bugs?

2000-06-12 Thread R. David Murray
I am very confused. I'm looking at the SearchIndex source under 2.1.4 (2.1.6 seems to be the same). In Lexicon.py the 'query' method defines the default_operator to be 'or'. I can't see that TextIndex overrides this when it calls it. But the response to PR 1141 (against 2.1.6) in the

[Zope-dev] ZCatalog and Unique IDs

2000-05-24 Thread Chris Withers
Hi, I hope this is a stupid question but why does ZCatalog use the URL of an object to uniquely identify it? Why not just use a reference to the object? Persistent object identifiers must exist for the ZODB so why not use them instead? cheers, Chris PS: This would solve all the problems with

<    1   2   3   4