You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2020/11/15 12:46:47 UTC
[lucene-solr] branch master updated: LUCENE-9610: fix bug in
previous test fix
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 3ae0ca2 LUCENE-9610: fix bug in previous test fix
3ae0ca2 is described below
commit 3ae0ca23d937bef2865689748ac9e556b40aff38
Author: Michael Sokolov <so...@amazon.com>
AuthorDate: Sun Nov 15 12:46:16 2020 +0000
LUCENE-9610: fix bug in previous test fix
---
lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java b/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java
index 034b4e3..b6b43fa 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java
@@ -48,7 +48,7 @@ public class TestKnnGraph extends LuceneTestCase {
private static final String KNN_GRAPH_FIELD = "vector";
- private static int maxConn;
+ private static int maxConn = HnswGraphBuilder.DEFAULT_MAX_CONN;
@Before
public void setup() {