This is a question for java-user@ list, not java-dev@ Hello Shadab,
You need to make your application perform the "primary key"-like logic. It can, for instance, look in the index first, before adding a document, using a field designated to be the PK. If it finds an existing document, delete it before re-adding it. Otis --- shadab khan <[EMAIL PROTECTED]> wrote: > When i am indexing a document which i already have indexed, it is > creating a different index for that. Therefore when i am going to > search for a particular field. it is showing the result for these two > documents. > Now my problem is that how to control that repetition of data???? > Hoping for your help.. > > with regards, > shadab > > > --------------------------------- > Yahoo! India Matrimony: Find your partner now. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]