On Sun, Dec 26, 2010 at 5:17 AM, Uwe Schindler <[email protected]> wrote:
> About MD5: At least for Lucene 3.x we must stay with MD5, as changing the
> hash algorithm would change the lock file name, so an index locked with 3.0
> would have a different lock file than an index locked with 3.x (for external
> lock directory). This would lead to problems for users upgrading several
> servers writing to shared indexes during the upgrades. You cannot be sure
> that the same index is always locked when you have 2 different lucene
> versions. This is just a warning, maybe it’s not important, but its
> important.

Its not that important, as the hash algorithm uses getBytes() <--
default charset.

So, this functionality is already broken anyway, as it will hash the
same string to different hashes across different JVMs who happen to
have a different default charset.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to