lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <>
Subject Re: IndexUpdateListener
Date Sun, 14 May 2006 17:48:34 GMT
On Sun, 2006-05-14 at 10:50 -0400, Yonik Seeley wrote:
> On 5/14/06, karl wettin <> wrote:
> > To me it feels as the index is the
> > only thing that knows for sure if it has been updated.
> I guess that would be whenever an IndexReader that had new deletions
> is closed, or an IndexWriter that changed the segments file?

Something like that.

> An app using Lucene still needs to coordinate all the activity
> surrounding IndexReaders and IndexWriters, including explicit closure,
> so the app will know anyway when the index has changed, right?

A car could go 600 miles in reverse, but I'd prefere not. :)

> (unless you are talking about adding the callbacks to IndexModifier)

As deep as possible.

All the user would need to know is Directory.getListerners() 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message