[Zope-Coders] Proposal for minor ZCatalog improvement

Andreas Jung andreas@andreas-jung.com
Mon, 11 Nov 2002 18:16:29 +0100


--On Montag, 11. November 2002 11:15 -0500 Casey Duncan <casey@zope.com> 
wrote:


>>
>> But that is an index related thing and is not directly ZCatalog related
>
> I agree, ZCatalog would not care. But I do think that would be a nice
> enhancement for ZCTextIndex.

TXNG already has it *wink*

>
>> >
>> > This would make getIndexedAttribute() impossible to implement
>> > correctly. Maybe getIndexedAttributeNames()?

>
> Maybe getIndexSourceName? I'm not sure if returning a list buys us
> anything,  but if it does then getIndexSourceNames
>

In my current implementation of TXNG the user enters a comma-separated
list of attributes and self.getIndexSourcesNames() just returns it as
list of attribute names. That is sufficient for the ZMI.

Cheers,
Andreas