[Grok-dev] Re: catalog indexes in Grok
Philipp von Weitershausen
philipp at weitershausen.de
Thu Apr 19 11:33:21 EDT 2007
Martijn Faassen wrote:
> Philipp von Weitershausen wrote:
>> I played with the faassen-index branch a bit just now. I ported
>> NudgeNudge to use it:
> Cool! Thanks for trying this out. I hope to merge this stuff by
> tomorrow. I need to do some more work first: make it work for sites, not
> just for applications, and extending the test coverage and error
> handling somewhat.
> Is a merge okay from your perspective?
Sure, though I must say that it worked right out of the box for me, no
errors, no hiccups, so I can't say anything about its limitations. OTOH,
isn't that nice? :)
>> I was using zc.catalog's indexes (namely ValueIndex) in NudgeNudge
>> before. Are there any reasons why we wouldn't want to make Grok
>> dependent on zc.catalog and make its indexes available as declarations
>> from grok.index?
> No reasons not to that I'm aware of. I just hadn't gotten around to it yet.
Sure. In a way it was a rhetorical question :).
The reason I'm asking is that not only has zc.catalog more indexes
(SetIndex), its ValueIndex is also much nicer to query than Zope's
http://worldcookery.com -- Professional Zope documentation and training
More information about the Grok-dev