mirror of https://github.com/apache/lucene.git
LUCENE-10421: use Constant instead of relying upon timestamp (#686)
This commit is contained in:
parent
81ab1d6ab6
commit
5972b495ba
|
@ -38,7 +38,7 @@ import org.apache.lucene.util.hnsw.NeighborQueue;
|
|||
public final class Lucene90HnswGraphBuilder {
|
||||
|
||||
/** Default random seed for level generation * */
|
||||
private static final long DEFAULT_RAND_SEED = System.currentTimeMillis();
|
||||
private static final long DEFAULT_RAND_SEED = 42;
|
||||
/** A name for the HNSW component for the info-stream * */
|
||||
public static final String HNSW_COMPONENT = "HNSW";
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.apache.lucene.util.InfoStream;
|
|||
public final class HnswGraphBuilder {
|
||||
|
||||
/** Default random seed for level generation * */
|
||||
private static final long DEFAULT_RAND_SEED = System.currentTimeMillis();
|
||||
private static final long DEFAULT_RAND_SEED = 42;
|
||||
/** A name for the HNSW component for the info-stream * */
|
||||
public static final String HNSW_COMPONENT = "HNSW";
|
||||
|
||||
|
|
Loading…
Reference in New Issue