I tried but I am missing some thing Please can you tell me the syntax how to use the TermQuery to check the presence of document in index from key field say OID
----- Original Message ----- From: "Daniel Naber" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Monday, July 26, 2004 5:21 PM Subject: Re: updating the index created for database search > On Monday 26 July 2004 13:31, lingaraju wrote: > > > If it is new record through which class we have to check that record is > > present in the index > > Just search for the id with a TermQuery. If you get a hit, the record is in > the index already. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]