RE: duplicate records in index

2011-02-16 Thread Digy
You are adding the same doc twice. (See how you add "acttime" ) DIGY -Original Message- From: Wen Gao [mailto:samuel.gao...@gmail.com] Sent: Wednesday, February 16, 2011 11:35 AM To: lucene-net-dev@lucene.apache.org Subject: duplicate records in index Hi, I am creating an

duplicate records in index

2011-02-16 Thread Wen Gao
Hi, I am creating an index from my database, however, the record in .cfs files contains duplicate records, e.g. "book1", 1, "susan", 1 "book1", 1,"susan",1, 03/01/2010 "book2", 2,"tom", "book2",2,"tom", 2,03/02/2010 .. I got the data from several tables, and am sure that the sql only gen