Re: [Zope-dev] Catalog in 2.3.1

2001-04-19 Thread seb bacon

* Adrian Hungate [EMAIL PROTECTED] [010419 10:09]:
 Are there some problems with the new catalog?
 
 I have spotted two possible problems:
 1) In CatalogAware, there is a function reindex_all, which appears to have a
 few problems, like calling index_object instead of reindex_object. Also, why
 "sub = self.objectValues()" when sub is never used?
 2) If I search a text index for a value that it does not contain, I get
 nothing back (No surprises there), but if I search for a word that is a
 substring of a word in the index, I get a Type Error (expected integer key).
 Did I do something wrong, or have I hit a bug?

Don't know much about (1), but (2) is certainly a bug, and seems to
have been fixed in CVS.

seb

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: [Zope-dev] Catalog in 2.3.1

2001-04-19 Thread Adrian Hungate
Title: RE: [Zope-dev] Catalog in 2.3.1





Does anyone know if/when this will make it into a release? I am about to deploy a Helpdesk/Knowledge Base product which is very heavily Catalog based.

--
Adrian Hungate
Manager, European I.S.
Acucorp UK Limited



-Original Message-
From: seb bacon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 April 2001 10:13
To: Adrian Hungate
Cc: Zope Developers List (E-mail)
Subject: Re: [Zope-dev] Catalog in 2.3.1



* Adrian Hungate [EMAIL PROTECTED] [010419 10:09]:
 Are there some problems with the new catalog?
 
 I have spotted two possible problems:
 1) In CatalogAware, there is a function reindex_all, which appears to have a
 few problems, like calling index_object instead of reindex_object. Also, why
 sub = self.objectValues() when sub is never used?
 2) If I search a text index for a value that it does not contain, I get
 nothing back (No surprises there), but if I search for a word that is a
 substring of a word in the index, I get a Type Error (expected integer key).
 Did I do something wrong, or have I hit a bug?


Don't know much about (1), but (2) is certainly a bug, and seems to
have been fixed in CVS.


seb