Hi
My suggestion
U should have a Common coloum which stores Unique Identity of the Data
being Index.
ex - Name+Date of Record
This helps in replacing the duplicates with latest by using TermQuery
search /Replace process.
This also helps in Maintaining unique record List with out duplicate
Hi,
IndexReaders, on which you are doing the search, are a snapshot of the index
at the time it was opened. Later commits by IndexWriter are not seen unless
you reopen the IndexReader. This can be done with
IndexReader.openIfChanged() (since Lucene 3.5) or IndexReader.reopen()
(before 3.5).
Uwe