Re: checking existing docs before indexing

2007-07-12 Thread Neeraj Gupta
provided. Cheers, Neeraj "Samuel LEMOINE" <[EMAIL PROTECTED]> 07/12/2007 09:38 PM Please respond to java-user@lucene.apache.org To java-user@lucene.apache.org cc [EMAIL PROTECTED] Subject Re: checking existing docs before indexing Neeraj Gupta a écrit : >

Re: checking existing docs before indexing

2007-07-12 Thread Samuel LEMOINE
document exists or not. Cheers, Neeraj "Heba Farouk" <[EMAIL PROTECTED]> 07/12/2007 06:57 PM Please respond to java-user@lucene.apache.org, [EMAIL PROTECTED] To java-user@lucene.apache.org cc Subject checking existing docs before indexing Hello i'm a newbie to lu

Re: checking existing docs before indexing

2007-07-12 Thread Neeraj Gupta
, Neeraj "Heba Farouk" <[EMAIL PROTECTED]> 07/12/2007 06:57 PM Please respond to java-user@lucene.apache.org, [EMAIL PROTECTED] To java-user@lucene.apache.org cc Subject checking existing docs before indexing Hello i'm a newbie to lucene world and i hope that u

Re: checking existing docs before indexing

2007-07-12 Thread Erick Erickson
You have to check yourself. Lucene has no concept of relations *between* documents. What you're really asking for is something like a database unique key. No such luck, you have to create one yourself. What I've done is post-process the entire index, removing duplicates. This can be done quite ef

checking existing docs before indexing

2007-07-12 Thread Heba Farouk
Hello i'm a newbie to lucene world and i hope that u help me. i was asking is there any options in IndexWriter to check if a document already exsits before adding it to the index or i should maintain it manually ?? thanks in advance Yours Heba - Choose