[Grok-dev] Re: Adding Valueindex
Martijn Faassen
faassen at startifact.com
Mon May 19 08:43:04 EDT 2008
Sebastian Ware wrote:
> Could we consider adding ValueIndex to grok.Index?
Sure, this is in zc.catalog, right? Could you describe a little bit what
you'd use it for? (as I'm pretty unfamiliar with it)
> I don't know if you need tests for this (looks like the SetIndex lacks tests),
It does have a test: grok/ftests/catalog/indexes_set.py
> but the
> change is trivial:
>
> grok/index.py:
>
> from zc.catalog.catalogindex import ValueIndex
> class Value(IndexDefinition):
> index_class = ValueIndex
I think this is a good opportunity for you to produce a patch with test. :)
Regards,
Martijn
More information about the Grok-dev
mailing list