Skip to content

Commit

Permalink
adds support for replication factor
Browse files Browse the repository at this point in the history
  • Loading branch information
aliszka committed Dec 19, 2022
1 parent 4d8d54e commit fbdc785
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 82 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package technology.semi.weaviate.client.v1.misc.model;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;
import lombok.experimental.FieldDefaults;

@Getter
@Builder
@ToString
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
public class ReplicationConfig {
Integer factor;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import lombok.ToString;
import lombok.experimental.FieldDefaults;
import technology.semi.weaviate.client.v1.misc.model.InvertedIndexConfig;
import technology.semi.weaviate.client.v1.misc.model.ReplicationConfig;
import technology.semi.weaviate.client.v1.misc.model.ShardingConfig;
import technology.semi.weaviate.client.v1.misc.model.VectorIndexConfig;

Expand All @@ -26,4 +27,5 @@ public class WeaviateClass {
ShardingConfig shardingConfig;
String vectorIndexType;
String vectorizer;
ReplicationConfig replication;
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
public class WeaviateVersion {

// to be set according to weaviate docker image
public static final String EXPECTED_WEAVIATE_VERSION = "1.16.4";
public static final String EXPECTED_WEAVIATE_VERSION = "1.17.0-prealpha";
// to be set according to weaviate docker image
public static final String EXPECTED_WEAVIATE_GIT_HASH = "49c0578";
public static final String EXPECTED_WEAVIATE_GIT_HASH = "1275663";

private WeaviateVersion() {}
}
Loading

0 comments on commit fbdc785

Please sign in to comment.