guaranteed to be a one-to-one (invertible) function.
You could theoretically have two distinct URLs that have the same MD5.
> -Original Message-
> From: Nuno Leitao [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 23, 2007 5:22 PM
> To: solr-user@lucene.apache.org
> Subj
Thanks Yonik,
Basically, I am indexing a number of items where the unique ID is a
URL. Because URL's can contain invalid XML characters, and I will be
doing some XSLT postprocessing, I was thinking that a good way to
solve the problem would be to store these unique ID's as md5's instead.
On 7/23/07, Nuno Leitao <[EMAIL PROTECTED]> wrote:
I would like to be able to compute and store the MD5 sum for a given
text in a field (in my case, I am talking about a URL string). For
example, if I have a field called 'url' the following would happen:
'http://wiki.apache.org' -> 'cb4f7e6ca1a0