Re: Stopping Duplicates

2005-09-17 Thread Jeff Rodenburg
Ben - I can think of two ways to achieve this. 1) While adding your information to the index, query the index for an existing record. If you get no match, add the record. 2) Control the exclusivity requirement from your data source, so that no duplicate records ever have the opportunity to be i

Stopping Duplicates

2005-09-17 Thread Ben Gill
Hi, I am storing names in my index, and am currently getting duplicates back (quite correctly, on Lucene's part), because I am storing: id name 1 fred 2 fred What I want to happen is, if a duplicate name is added to the index, I only ever want one entity to exist with the name