On 3/28/07, FB <[EMAIL PROTECTED]> wrote:


Hi,

On Wed, Mar 28, 2007 at 03:55:28PM +0000, Alek Kowalczyk wrote:
> Hi,Is FieldIndex able to index bool field? If not, how to create own
> index for doing that?
>
> anomalies = catalog.searchResults(anomaly=True)

Try

catalog.searchResults(anomaly=(True,True))

BTW: The error is raised because the fieldindex tries to interpret 'True'
as a tuple.


Thanks! I didn't think that the solution is so simple.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to