Skip to content

Commit eb38105

Browse files
committed
ok
1 parent 52b69e0 commit eb38105

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

REALEASE.MD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@ mvn clean test jacoco:report
1919
mvn clean test jacoco:report verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=clun_astra-db-java
2020
```
2121

22+
- [x] Start the `ssh-agent`
23+
24+
```console
25+
eval "$(ssh-agent -s)"
26+
```
27+
- [x] Add the ssh key to the agent
28+
29+
```console
30+
cd ~/.ssh
31+
ssh-add githubff4j
32+
```
33+

astra-db-java/pom.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
53
<modelVersion>4.0.0</modelVersion>
64
<groupId>com.datastax.astra</groupId>
75
<artifactId>astra-db-java</artifactId>
86
<name>Java Client Library for Data API</name>
9-
<version>1.0.0-SNAPSHOT</version>
7+
<version>1.0.0-beta1</version>
108
<description>Implementation of a client to the Astra/Stargate Data API written in Java</description>
119
<url>https://github.com/datastax/astra-db-java</url>
1210
<inceptionYear>2024</inceptionYear>
@@ -382,7 +380,7 @@
382380
<connection>scm:git:[email protected]:datastax/astra-db-java.git</connection>
383381
<developerConnection>scm:git:[email protected]:datastax/astra-db-java.git</developerConnection>
384382
<url>https://github.com/datastax/astra-db-java</url>
385-
<tag>1.2.6</tag>
383+
<tag>1.0.0-beta1</tag>
386384
</scm>
387385

388386
<developers>

astra-db-java/src/main/java/com/datastax/astra/client/Collection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ public FindIterable<T> find(Filter filter) {
12091209
* @return A {@link FindIterable} for iterating over the sorted and limited documents.
12101210
*/
12111211
public FindIterable<T> find(Filter filter, float[] vector, int limit) {
1212-
return find(filter, FindOptions.Builder.vector(vector).limit(limit));
1212+
return find(filter, FindOptions.Builder.sort(vector).limit(limit));
12131213
}
12141214

12151215
/**
@@ -1226,7 +1226,7 @@ public FindIterable<T> find(Filter filter, float[] vector, int limit) {
12261226
* @return A {@link FindIterable} for iterating over the sorted and limited documents.
12271227
*/
12281228
public FindIterable<T> find(float[] vector, int limit) {
1229-
return find(null, FindOptions.Builder.vector(vector).limit(limit));
1229+
return find(null, FindOptions.Builder.sort(vector).limit(limit));
12301230
}
12311231

12321232
/**

0 commit comments

Comments
 (0)