Class Data

Class Data

Methods

flush

  • After insert vector data, need flush .

    Parameters

    Returns Promise<any>

getDataByExpr

  • Get data by expr. Now we only support like: fieldname in [id1,id2,id3]

    Parameters

    Returns Promise<any>

insert

  • if field type is binary, the vector data length need to be dimension / 8query fields_data: [{id:1,age:2,time:3,face:[1,2,3,4]}]

    hash_keys: Node sdk just pass to grpc right now. transfer primary key value to hash , let's figure out how to use it. num_rows: The row length you want to insert.

    After insert data you may need flush this collection.

    Parameters

    Returns Promise<MutationResult>

search

  • We are not support dsl type in node sdk because milvus will no longer support it too.

    Parameters

    Returns Promise<SearchResults>