File tree Expand file tree Collapse file tree
src/main/java/com/tencent/tcvectordb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
2424 <dependency>
2525 <groupId>com.tencent.tcvectordb</groupId>
2626 <artifactId>vectordatabase-sdk-java</artifactId>
27- <version>2.4.0 </version>
27+ <version>2.4.1 </version>
2828 </dependency>
2929 ```
3030
3131 - Gradle/Grails
3232
3333 ```gradle
34- compile 'com.tencent.tcvectordb:vectordatabase-sdk-java:2.4.0 '
34+ compile 'com.tencent.tcvectordb:vectordatabase-sdk-java:2.4.1 '
3535 ```
3636
3737### Examples
3838
39- Please refer to [ examples] ( ./tcvectordb/src/main/java/com/tencent/tcvectordb/examples ) folder for Java SDK examples.
39+ Please refer to [ examples] ( ./tcvectordb/src/main/java/com/tencent/tcvectordb/examples ) folder for Java SDK examples.
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
2424 <dependency>
2525 <groupId>com.tencent.tcvectordb</groupId>
2626 <artifactId>vectordatabase-sdk-java</artifactId>
27- <version>2.4.0 </version>
27+ <version>2.4.1 </version>
2828 </dependency>
2929 ```
3030
3131 - Gradle/Grails
3232
3333 ```gradle
34- compile 'com.tencent.tcvectordb:vectordatabase-sdk-java:2.4.0 '
34+ compile 'com.tencent.tcvectordb:vectordatabase-sdk-java:2.4.1 '
3535 ```
3636
3737### Examples
Original file line number Diff line number Diff line change 44
55 <groupId >com.tencent.tcvectordb</groupId >
66 <artifactId >vectordatabase-sdk-java</artifactId >
7- <version >2.4.0 </version >
7+ <version >2.4.1 </version >
88 <packaging >jar</packaging >
99
1010 <name >vectordatabase-sdk-java</name >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ private static ConnectParam initConnectParam() {
6161 */
6262 public static VectorDBClient initClient () {
6363 // 创建http client
64- // return new VectorDBClient(initConnectParam(), ReadConsistencyEnum.EVENTUAL_CONSISTENCY );
64+ // return new VectorDBClient(initConnectParam(), ReadConsistencyEnum.STRONG_CONSISTENCY );
6565 // 创建rpc client
6666 return new RPCVectorDBClient (initConnectParam (), ReadConsistencyEnum .EVENTUAL_CONSISTENCY );
6767 }
You can’t perform that action at this time.
0 commit comments