[Zope-CMF] Topic ANDing

Loren Stafford lstafford@morphics.com
Mon, 8 Oct 2001 16:27:24 -0700


I tried to do this on my Zope 2.3.2 installaion, but things still got ORed. 

I see support for texindex_operator, but not for a field index operator.

Does that mean there is no way to AND Subject criteria on Zope 2.3.x?

-- Loren

> 
> What you require is not a "drop-in index";  standard keyword indexes
> (of which the Subject index is one) have this feature, but the
> CMFTopic.ListCriterion does not expose it.  We would need to add
> a property to ListCriterion to track the "operator" desired, and
> then modify its 'getCriteriaItems' method to add that value, using
> field + "_operator" as its key.
> 
> Tres.
> -- 
> ===============================================================
> Tres Seaver                                tseaver@zope.com
> Zope Corporation      "Zope Dealers"       http://www.zope.com
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and 
> feature requests
>