experimentalLayer

package
v0.0.0-...-1624b2f Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B  = 1
	KB = 1024
	MB = 1024 * 1024
	GB = 1024 * 1024 * 1024
)
View Source
const DefaultEnforcementPolicyMinTime = 5 * time.Second
View Source
const DefaultKeepAlive = 60 * time.Second
View Source
const DefaultKeepAliveTimeout = 10 * time.Second
View Source
const DefaultMsgSize = 104858000 // 10mb

Variables

View Source
var UncaughtPanicError = "uncaught panic error: %v"

Functions

func NewExperimentalLayer

func NewExperimentalLayer() error

func StableRelease

func StableRelease(ctx context.Context) error

Types

type ExperimentalLayer

type ExperimentalLayer struct {
	Ctx    context.Context
	Cancel context.CancelFunc
	Engine *experimental.ExperimentalMultiVector
	// contains filtered or unexported fields
}

type ProtoConn

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

func (*ProtoConn) CreateCollection

func (protoconn *ProtoConn) CreateCollection(ctx context.Context, req *experimentalproto.Collection) (
	*experimentalproto.CollectionResponse, error)

func (*ProtoConn) DeleteCollection

func (*ProtoConn) Flush

func (*ProtoConn) GetCollection

func (*ProtoConn) Index

Index implements experimentalproto.ExperimentalMultiVectorRpcServer.

func (*ProtoConn) LoadCollection

func (*ProtoConn) Ping

func (protoconn *ProtoConn) Ping(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)

func (*ProtoConn) ReleaseCollection

func (protoconn *ProtoConn) ReleaseCollection(ctx context.Context, req *experimentalproto.CollectionName) (*experimentalproto.Response, error)

ReleaseCollection implements experimentalproto.ExperimentalMultiVectorRpcServer.

func (*ProtoConn) VectorSearch

VectorSearch implements experimentalproto.ExperimentalMultiVectorRpcServer.

Jump to

Keyboard shortcuts

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