[Zope] Re: ZCatalog: searching with OR

Maik Jablonski maik.jablonski@uni-bielefeld.de
Wed, 12 Feb 2003 01:59:35 +0100


Chris Beaven wrote:
> Because it's 2 different indexes I'm searching

Then I would set up a combined index, which should do the weighting... 
Create a PythonScript (id=CatIndex) which concates the two indexes (the 
properties) and returns the result. Then index the CatIndex in your 
Catalog and query it with 'a or b'. ZCTextIndex will give you the 
weighted result...

-mj