I have multiple dates in a field as lines. What I would like to do is call objects queried on those dates... this seems very flaky has anyone tried this? The best result so far is to hack the date in a string the text index likes such as Date2000-10-11.... ugghh. I can then query the text index.
Untested:
Make a method that returns a list of DateTime objects. You'll probably want to use a PythonMethod or an External Method.
Fortunately this is a class in Python so I have a list of DateTime's.
Set your ZCatalog up to index these as a KeywordIndex.
Then, query the ZCatalog as you would normally query a ZCatalog with a KeywordIndex, but ensure that you are using DateTime instances as your constraints in your query.
Hmm I still get no results where there should be some. The Catalog has it indexed as [DateTime('2000/11/12'), DateTime('2000/11/13'), DateTime('2000/11/14'), DateTime('2000/11/15')]... will keep fiddling. Thanks.