Re: The best way to know when an index has been changed

2005-08-03 Thread Stanislav Jordanov
[mailto:[EMAIL PROTECTED] Sent: 03 August 2005 14:47 To: java-user@lucene.apache.org Subject: Re: The best way to know when an index has been changed Hi Steve; Not sure if this would work... Each day you could get the value from IndexReader's getCurrentVersion and store it somewhere (DB o

RE: The best way to know when an index has been changed

2005-08-03 Thread Steve Gaunt
t way to know when an index has been changed Hi Steve; Not sure if this would work... Each day you could get the value from IndexReader's getCurrentVersion and store it somewhere (DB or serialize it). The next day when you grab the value again you could compare it to the stored one, if t

Re: The best way to know when an index has been changed

2005-08-03 Thread Luke
Hi Steve; Not sure if this would work... Each day you could get the value from IndexReader's getCurrentVersion and store it somewhere (DB or serialize it). The next day when you grab the value again you could compare it to the stored one, if they differ you would know it has been replaced. Luke