lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: repetition of document while indexing..................
Date Thu, 06 Oct 2005 15:58:40 GMT
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 <callforshadab@yahoo.co.in> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message