milvus

package
v0.0.13-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCollectionOptions

type CreateCollectionOptions struct {
	Dimension uint64
	Metric    Metric
}

type DB

type DB struct {
	// contains filtered or unexported fields
}

func New

func New(options Options) *DB

func (*DB) Insert

func (d *DB) Insert(ctx context.Context, datas []index.Data) error

func (*DB) IsEmpty

func (d *DB) IsEmpty(ctx context.Context) (bool, error)

func (*DB) Search

func (d *DB) Search(ctx context.Context, values []float64, options *option.Options) (index.SearchResults, error)

func (*DB) WithCredentialsAndEndpoint

func (d *DB) WithCredentialsAndEndpoint(username, password, endpoint string) *DB

type Options

type Options struct {
	DatabaseName     *string
	CollectionName   string
	BatchUpsertSize  *int
	CreateCollection *CreateCollectionOptions
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL