[Zope3-dev] TTW Indexes

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Sun, 03 Aug 2003 08:19:21 +0200


--On Sonntag, 3. August 2003 2:12 Uhr -0400 Gary Poster 
<gary@modernsongs.com> wrote:

>
>
> Andreas Jung wrote:
>>
>>
>> --On Sonntag, 3. August 2003 15:43 Uhr +1000 Anthony Baxter
>> <anthony@interlink.com.au> wrote:
>>
>>>
>>> Currently, there's a FieldIndex and TextIndex that are addable via the
>>> web
>>> directly (not inside a Catalog). From looking at the code, it _seems_
>>> like
>>> this was done because Catalog didn't exist yet. Is there any benefit to
>>> keeping them?
>>
>>
>> Don't think so.
>
> Actually the idea was that "catalogs" would really be query engines that
> used free-floating indexes configured for them.  A typical sort of query
> engine would also be an event subscribable, filtering events from the
> event service, only emitting those having to do with objects for which
> the query engine was responsible.  Member indexes would subscribe to this
> query engine for their events.  Again, this would be typical, but other
> configurations and query configurations would be possible..
>
> I don't think Jim nor the new catalog (not having looked at it yet :-)
> share that approach, though, and you actually have a catalog (as opposed
> to those of us who planned to have a catalog), so I won't personally wave
> my hands about too much.  If you don't *need* to remove the stand-alone
> nature of the indexes, then why bother?   But that's all I'll have to
> say.  :-)

When we need the stand-alone versions of the indexes then the integration
of the indexes with the object hub need to be refactored since they
share a lot of common code.

-aj