Re: add in an existing document

2007-05-11 Thread jafarim
How about this idea: - a special Identifier field. - A DocumentHash class which calculates a hash value from a Document. - A query on Identifier before inserting new Documents to check if it already exists. --jaf On 5/10/07, STEFANOS STEFANOS <[EMAIL PROTECTED]> wrote: Hello, I would li

add in an existing document

2007-05-09 Thread STEFANOS STEFANOS
Hello, I would like to ask you about the function add of lucene 2.0. When i am trying to add a document in an existed index the index's documents are replaced by the new document. I did it according to the book. cheers, Stefanos -