thanks that solved my problem.
-- Original --
From: "Uwe Schindler";
Date: Fri, Dec 30, 2011 05:27 AM
To: "java-user";
Subject: RE: Can't get a hit
Hi,
IndexReaders, on which you are doing the search, are a snapshot of the
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
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Cheng [mailto:zhoucheng2...@gmail.com]
> Sent: Thursday, December 29, 2011 5:27 PM
> To: java-user@lucene.apache.org
> Subject: Can'
Hi,
I need to save a list of records into an index on hard drive. I keep a
writer and a reader open till the end of the operation.
My issue is that I need to compare each of the new records with each of the
records that have been saved into the index. There are plenty of duplicate
records in the