On Sun, 2006-05-14 at 10:50 -0400, Yonik Seeley wrote: > On 5/14/06, karl wettin <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]