Re: Duplicates recods in index

2006-02-09 Thread Daniel Noll
Pasha Bizhan wrote: Hi, From: Daniel Noll [mailto:[EMAIL PROTECTED] I don't know how this will be for efficiency. If you did it that way, you would have to re-open the index for every single document you add, otherwise you might miss a duplicate which was added recently. You do not need

RE: Duplicates recods in index

2006-02-09 Thread Pasha Bizhan
Hi, > From: Daniel Noll [mailto:[EMAIL PROTECTED] > I don't know how this will be for efficiency. If you did it > that way, you would have to re-open the index for every > single document you add, otherwise you might miss a duplicate > which was added recently. You do not need to reopen in

Re: Duplicates recods in index

2006-02-08 Thread Daniel Noll
Pasha Bizhan wrote: Hi, From: Anton Potehin [mailto:[EMAIL PROTECTED] 1) create Document object 2) add 5 fields into Document (id, name, field1, field2, field3). All fields are stored, indexed and tokenized 3) check if the document with current id and name was added before Just perform

RE: Duplicates recods in index

2006-02-08 Thread Pasha Bizhan
Hi, > From: Anton Potehin [mailto:[EMAIL PROTECTED] > 1) create Document object > > 2) add 5 fields into Document (id, name, field1, field2, > field3). All fields are stored, indexed and tokenized > > 3) check if the document with current id and name was added before Just perform the sear

Duplicates recods in index

2006-02-08 Thread Anton Potehin
Is it possible to add records into lucene index using following algorithm: 1) create Document object 2) add 5 fields into Document (id, name, field1, field2, field3). All fields are stored, indexed and tokenized 3) check if the document with current id and name was added before 4) if yes