[Zope3-dev] Re: performance and BTrees

Garrett Smith garrett@mojave-corp.com
Thu, 1 May 2003 09:22:17 -0500


Stephan Richter wrote:
> On Thursday 01 May 2003 09:57, Steve Alexander wrote:
>>> My idea was to maintain an index as a btree with the thread data
>>> using the event service.
>>=20
>> You'd want to use the event service.
>> Write a DateIndex and subscribe it to receive IObjectAddedEvents.
>> When the object that is added is an IYourMessageThread, index its id
>> (its path, I guess) against the date it was created.
>=20
> That's the solution I chose for ZWiki, where I wrote a custom
> TextIndex.=20

Has there been talk of an indexing service (or maybe it exists already)?
I would think this issue will be central to any non-trivial collections
implementation.

 -- Garrett