Hi Daniel,
> -----Original Message----- > From: Daniel Florey [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 3. Februar 2004 16:27 > To: Slide Developers Mailing List > Subject: Re: proposal: integrate indexing - search > > > Hi, > great work. After reading it several times I understand most of it :-) > As I'm working on events at the moment I think they could be > used to trigger > indexing for lucene based search. > They provide synchronous event collections (before commit and > vetoable) as > well as asynchronous event collections (fired after commit). > The collection can be filtered, so that only the desired > changes are indexed that could be a way to trigger the indexer. My current thoughts are to trigger the indexer within the parent store (org.apache.slide.store.AbstractStore.java). Here we have a good chance to let the indexer take part in two phase commit. It's up to the indexer implementation, if two phase commit is used, or asynchronous processing is done. I'm just on AbstractStore. > (e.g. create and remove of the same resource within a single > transaction can > be ignored). that would be a benefit. > To enable content type specific indexing it might be a good > way to register > some content type specific event listeners that extract the > metadata from the > resource and generates appropriate properties before storing > the revision > descriptors so the underlying store. Good point! We should should spend some time thinking about an Indexer framework. Regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
