mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-24 08:00:00 -06:00
basic test working for rampup
This commit is contained in:
parent
798291eda1
commit
c0e25f8b74
@ -61,9 +61,9 @@ public class MilvusOpMapper implements OpMapper<MilvusBaseOp<?>> {
|
||||
case create_index -> new MilvusCreateIndexOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
case drop_index -> new MilvusDropIndexOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
// Uses the Collection-specific fields (columnar) insert mode
|
||||
case insert_fields -> new MilvusInsertOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
// Uses the High-Level row-by-row JSONObject (tabular) insert mode
|
||||
case insert_rows -> new MilvusInsertRowsOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
// Uses the High-Level row-by-row JSONObject (tabular) insert mode
|
||||
case insert -> new MilvusInsertOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
case delete -> new MilvusDeleteOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
case search -> new MilvusSearchOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
case alter_alias -> new MilvusAlterAliasOpDispenser(adapter, op, typeAndTarget.targetFunction);
|
||||
|
@ -45,8 +45,8 @@ public enum MilvusOpType {
|
||||
get_persistent_segment_info(Collection),
|
||||
get_query_segment_info(Collection),
|
||||
get_replicas(Collection),
|
||||
insert_fields(Collection),
|
||||
insert_rows(Collection), // Added because of generic signature causing ambiguous patterns on insert(...)
|
||||
insert_rows(Collection), // Added because of generic signature causing ambiguous patterns on insert(...)
|
||||
insert(Collection),
|
||||
load_collection(Collection),
|
||||
release_collection(Collection),
|
||||
show_collections(Collection),
|
||||
|
@ -36,6 +36,7 @@ scenarios:
|
||||
params:
|
||||
driver: milvus
|
||||
instrument: true
|
||||
database: TEMPLATE(database)
|
||||
|
||||
bindings:
|
||||
row_key: ToString()
|
||||
@ -103,9 +104,12 @@ blocks:
|
||||
# https://milvus.io/api-reference/java/v2.3.x/Collection/insert().md
|
||||
insert_op:
|
||||
insert: "TEMPLATE(collection,vector)"
|
||||
fields:
|
||||
rows:
|
||||
key: "{row_key}"
|
||||
value: "{train_floatlist_TEMPLATE(filetype,hdf5)}"
|
||||
# fields:
|
||||
# key: (List this) "{row_key}"
|
||||
# value: (List this) "{train_floatlist_TEMPLATE(filetype,hdf5)}"
|
||||
|
||||
search:
|
||||
ops:
|
||||
|
Loading…
Reference in New Issue
Block a user