Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 30630 invoked from network); 21 Nov 2005 21:35:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Nov 2005 21:35:32 -0000 Received: (qmail 13863 invoked by uid 500); 21 Nov 2005 21:35:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 13630 invoked by uid 500); 21 Nov 2005 21:35:21 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 13615 invoked by uid 99); 21 Nov 2005 21:35:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 13:35:20 -0800 Received-SPF: pass (asf.osuosl.org: local policy) Received: from [65.209.1.80] (HELO webmail.cymfony.com) (65.209.1.80) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2005 13:36:52 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Lucene Index Changed event Date: Mon, 21 Nov 2005 16:32:17 -0500 Message-ID: <13F36D2926AD444697093282F20041B703BB3B69@buf-ex01.cymfony.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Lucene Index Changed event Thread-Index: AcXu3BoVI/fGeFMRQ4qAiS4FMblxggAAFLlwAAGUbJA= From: "Peter Kim" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can check IndexReader.getCurrentVersion() to see if the index changed from the last time you checked. The index's version number changes whenever the index is updated. Peter > -----Original Message----- > From: Aigner, Thomas [mailto:TAigner@WescoDist.com]=20 > Sent: Monday, November 21, 2005 3:48 PM > To: java-user@lucene.apache.org > Subject: Lucene Index Changed event >=20 >=20 > Hi all, > Is there an index changed event that I can jump on that=20 > will tell me when my index has been updated so I can close=20 > and reopen my searcher to get the new changes? > I can't seem to find the event, but see some tools that=20 > might accomplish this (DLESE DPC software components?). Is=20 > there something built in to lucene that I can tap into that=20 > will give me this information? >=20 > My current ugly work around is a file check when I=20 > rebuild the index. >=20 > Thanks all and sorry I'm still a newbie here.. > Tom >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org