[Zope-Coders] Proposal for minor ZCatalog improvement
Andreas Jung
Andreas Jung <lists@andreas-jung.com>
Tue, 26 Nov 2002 18:30:36 +0100
--On Montag, 11. November 2002 12:02 -0500 Shane Hathaway <shane@zope.com>
wrote:
>>
>> Maybe getIndexSourceName? I'm not sure if returning a list buys us
>> anything,
>> but if it does then getIndexSourceNames
>
> The list would allow the UI to format multiple attributes in any way it
> wants, assisting in the separation of presentation from logic. "Source"
> doesn't have a defined meaning for ZCatalog.
>
KeywordIndex, FieldIndex and UnIndex (the base class for most indexes) are
now
able to index multiple attributes. PathIndex and TopicIndex do not need to
be changed
since their id is not directly bound to an attribute/method of an object.
For DateIndex
and DateRangeIndex I do not know if it would be useful to be able to index
multiple
attributes (any usecases ?). TextIndex remained untouched since it is more
or less
deprecated because we have some better alternatives.
-aj