8 Feb
2008
8 Feb
'08
11:13 a.m.
sguglia@arrows.it wrote:
I 'serialized' mysql data in order to flat one-to-many related tables. the resulting dictionaries (one per record) are i.e. as:
mydict [ brandcode ] = { 'itemcode': 'some value', 'itemsizeavail': [ ('XL',), ('XXL',), ('S',) ], 'keythree': '', 'keyfour': [ ], ... }
now then I can index the whole content in order to get it searchable from the Plone quick search form.
This is more than a little insane...
mydict [ ] records are then saved as strings in a DB table records.
?! cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk