Le mardi 15 avril 2008 à 14:03 +0200, Andreas Jung a écrit : > Intersection is likely possible. However I don't know about the > implementation of hurry.catalog or the other related Zope 3 components. > Performing two queries and intersecting the results (e.g. given by paths, > UIDs or whatever) is basically supported through the various BTree types > or Zope or by Python's set module..
Intersecting is possible, but BTrees and sets dont support ordering... So I suppose that I have to convert search results to lists and to merge/intersect them manually... Or, given a set (containing final results set intersection) and a list (containing TextIndexNG results, ordered by ranking), is it possible to EFFICIENTLY get items of the set in the order in which they are stored in the list ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85 _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users