On Thu, Aug 9, 2012 at 4:57 PM, Dawid Weiss <[email protected]> wrote: >> - Random r = new Random(); >> + Random r = new Random(0); > > If you really want a local Random why not make it depend on the > current real seed?
If anything, I'd rather have it the same each time. It's more for performance testing against externally started servers. But now that you point it out, this is per-thread, so I should use a seed of "base" so each thread gets different random docs (but still the same each time). -Yonik http://lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
