Here's a weird one. I'm testing out my products catalog functionality, and I'm seeing strange results. I add an object "A" with an indexed variable called 'styles' that contains the values: ['Ambient', 'Breakbeat', 'Downtempo'] I add a second object "B" with the varaibles: ('Ambient', 'Breakbeat', 'Downtempo', 'Hardcore', 'Hip-Hop', 'House', 'Jungle', 'Techno', 'Trance') When I search for these varables, the results get somewhat mixed up. 3 incorrect searches out of 8. search for: results: Ambient B* Breakbeat A&B Downtempo A&B Hardcore A* Hip-Hop * House B Jungle B Techno B Trance B All these variables are inputted through a select box, so the spelling/case should be identical. There's some kind of a pattern here though, I don't quite see it. this is the call that I'm using to index the object: self.Catalog.catalog_object(ob,'Promoters/'+id) Anyone have any idea what might be causing this?
Hi Ed, What version of Zope are you using? If it's 2.1.6 or earlier, have you patched ZCatalog? IIRC, it's slightly broken and causes exactly the same kind of problems as this... http://www.zope.org/Members/chrisw/Squishdot has a link to the fix for this problem on it (somewhere ;-) cheers, Chris PS:
'Downtempo', 'Hardcore', 'Hip-Hop', 'House', 'Jungle', 'Techno', 'Trance')
With your taste in music, you should check out http://www.bay-c.co.uk I'm always looking for people to write articles and comment on the ones that are there :-)
participants (2)
-
Chris Withers -
ed colmar