Skip to content

Commit

Permalink
Update test engine
Browse files Browse the repository at this point in the history
Signed-off-by: Vijayan Balasubramanian <[email protected]>
  • Loading branch information
VijayanB committed Oct 23, 2024
1 parent 750ba91 commit 2457acc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

public class KNNIndexShardTests extends KNNSingleNodeTestCase {

public static final String FAISS_HNSW_EXTENSION = "faiss";
private final String testIndexName = "test-index";
private final String testFieldName = "test-field";
private final int dimensions = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,14 @@
* Test used for testing Codecs
*/
public class KNNCodecTestCase extends KNNTestCase {
public static final String FAISS_HNSW_EXTENSION = "faiss";
private static final FieldType sampleFieldType;
static {
KNNMethodConfigContext knnMethodConfigContext = KNNMethodConfigContext.builder()
.versionCreated(CURRENT)
.vectorDataType(VectorDataType.DEFAULT)
.build();
KNNMethodContext knnMethodContext = new KNNMethodContext(
KNNEngine.DEFAULT,
KNNEngine.NMSLIB,
SpaceType.DEFAULT,
new MethodComponentContext(METHOD_HNSW, ImmutableMap.of(METHOD_PARAMETER_M, 16, METHOD_PARAMETER_EF_CONSTRUCTION, 512))
);
Expand Down

0 comments on commit 2457acc

Please sign in to comment.