mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2026-10-12 09:24:52 -05:00
legacy find-based ops, confining to legacy state WIP
This commit is contained in:
1 parent
35a8460490
commit
d2633b3dea
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ public class DataApiCollectionFindOpDispenser extends DataApiOpDispenser {
|
||||
private LongFunction<DataApiCollectionFindOp> createOpFunction(ParsedOp op) {
|
||||
return (l) -> {
|
||||
Database db = spaceFunction.apply(l).getDatabase();
|
||||
Filter filter = getFilterFromOp(op, l);
|
||||
Filter filter = getLegacyFilterFromOp(op, l);
|
||||
CollectionFindOptions options = getCollectionFindOptions(op, l);
|
||||
return new DataApiCollectionFindOp(
|
||||
db,
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ public class DataApiCollectionFindVectorFilterOpDispenser extends DataApiOpDispe
|
||||
return (l) -> {
|
||||
Database db = spaceFunction.apply(l).getDatabase();
|
||||
float[] vector = getVectorValues(op, l);
|
||||
Filter filter = getFilterFromOp(op, l);
|
||||
Filter filter = getLegacyFilterFromOp(op, l);
|
||||
int limit = getLimit(op, l);
|
||||
return new DataApiCollectionFindVectorFilterOp(
|
||||
db,
|
||||
|
||||
Reference in new issue
Block a user