Skip to content

Commit cd00bbb

Browse files
committed
FindAndRerank
1 parent 49d5c2e commit cd00bbb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

astra-db-java/src/main/java/com/datastax/astra/client/core/hybrid/HybridLimits.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,12 @@ public HybridLimits lexical(Integer limit) {
5757
return this;
5858
}
5959

60+
public HybridLimits vector(Integer limit) {
61+
if (mapOfLimits == null) {
62+
mapOfLimits = new HashMap<>();
63+
}
64+
mapOfLimits.put(DataAPIKeywords.VECTOR.getKeyword(), limit);
65+
return this;
66+
}
67+
6068
}

0 commit comments

Comments
 (0)