On 5/4/06, Ken Krugler <[EMAIL PROTECTED]> wrote:
What I use is a PRNG, to mix up the IDs, but I guess that's a form of an auto-incrementing field.
One advantage an incrementing field would have for auto-generated ids is a uniqueness guarantee w/o having to search in the lucene index. You could find the max in the index once, and then keep incrementing the value for each new document added. -Yonik