hashing is not 100% guaranteed to produce unique values. It'w worth reading about and knowing about :-)
Dennis Gearon Signature Warning ---------------- It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' EARTH has a Right To Life, otherwise we all die. ----- Original Message ---- From: Lance Norskog <goks...@gmail.com> To: solr-user@lucene.apache.org Sent: Mon, November 15, 2010 9:45:34 PM Subject: Re: hash uniqueKey generation? I think the deduplication signature field will work as a multiValued field. So you can do copyField to it from all of the source fields. Dan Lynn wrote: > Hi, > > I just finished reading on the wiki about deduplication and the > solr.UUIDField >type. What I'd like to do is generate an ID for a document by hashing a subset >of its fields. One route I thought would be to do this ahead of time to CSV >data, but I would think sticking something into the UpdateRequest chain would >be >more elegant. > > Has anyone had any success in this area? > > Cheers, > Dan > http://twitter.com/danklynn