[Chandler-dev] Re: Index ordering and case sensitivity
Grant Baillie
grant at osafoundation.org
Wed Nov 15 11:25:16 PST 2006
On 15 Nov, 2006, at 11:18, Andi Vajda wrote:
>
> On Wed, 15 Nov 2006, Andi Vajda wrote:
>
>> To rebuild an index, save its creation keywords with
>> index.getInitKeywords() and type with index.getIndexType(), remove
>> the index with removeIndex() and create the same index using the
>> type and init keywords saved with addIndex().
>
> Correction: removeIndex() is going to cause all subIndexes to get
> lost. If you need a way to rebuild indexes, I need to add a proper
> API for this. Let me know if and when you need this.
Hmmm... There's code in parcels/osaf/pim/calendar/TimeZone.py that
rebuilds floating event indexes when you toggle showing TimeZones.
That uses collection.reindexKeys(). Should it be using something else?
--Grant
More information about the chandler-dev
mailing list