[Grok-dev] A really really really helpful error message/comment in hurry.query...

Sebastian Ware sebastian at urbantalk.se
Thu Sep 2 09:04:37 EDT 2010

...would be to hint...

  "Use operations Le/Ge/Between in value.py if you are searching a ValueIndex."

    def getIndex(self):
        index = super(Text, self).getIndex()
        assert ITextIndex.providedBy(index)
        return index

Took an hour of debugging until I realised I used query.Ge instead of value.Ge. I think I have stumbled on this before too.

Mvh Sebastian

More information about the Grok-dev mailing list