[Zope-dev] ZCTextIndex and ZCatalog conundrum

Chris Withers chrisw@nipltd.com
Tue, 29 Apr 2003 14:19:43 +0100


Hi,

Say I have a ZCatalog with a ZCTextIndex called 'SearchableText' and a DateIndex 
  called dateofpublication.

I do a search like:

results = MyCatalog(SearchableText = search_expression,
                     dateofpublication = search_expression2)

How would I get those results sorted by the relevence returned by the ZCTextIndex?

cheers,

Chris