You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by Daniel Wertheim <da...@wertheim.se> on 2010/07/03 20:53:19 UTC

Unique Indexes

Hi,

Is there some built in functionality to ensure an certain field of an
document is treated as unique?

//Daniel

RE: Unique Indexes

Posted by Digy <di...@gmail.com>.
No, but storing the hash value(MD5,SHA1 etc.) of documents in a field can be
a solution.

DIGY

-----Original Message-----
From: Daniel Wertheim [mailto:daniel@wertheim.se] 
Sent: Saturday, July 03, 2010 9:53 PM
To: lucene-net-dev@lucene.apache.org
Subject: Unique Indexes

Hi,

Is there some built in functionality to ensure an certain field of an
document is treated as unique?

//Daniel