[ZCM] [ZC] 284/ 1 Request "KeywordIndex and FieldIndex subclassing"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Mon, 11 Mar 2002 06:31:59 -0500
Issue #284 Update (Request) "KeywordIndex and FieldIndex subclassing"
Status Pending, Zope/feature+solution medium
To followup, visit:
http://collector.zope.org/Zope/284
==============================================================
= Request - Entry #1 by htrd on Mar 11, 2002 6:31 am
Uploaded: "indexsubclass.diff"
- http://collector.zope.org/Zope/284/indexsubclass.diff/view
KeywordIndex and FieldIndex are not as useful as base classes as they could be with a little refactoring. Specifically, they both have a function 'index_object' which mixes some forward/reverse index heavy lifting with policy decisions such as calling any callable value.
This patch moves the policy into a separate function.
==============================================================