grpc

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Filters_Operator_name = map[int32]string{
		0:  "OPERATOR_UNSPECIFIED",
		1:  "OPERATOR_EQUAL",
		2:  "OPERATOR_NOT_EQUAL",
		3:  "OPERATOR_GREATER_THAN",
		4:  "OPERATOR_GREATER_THAN_EQUAL",
		5:  "OPERATOR_LESS_THAN",
		6:  "OPERATOR_LESS_THAN_EQUAL",
		7:  "OPERATOR_AND",
		8:  "OPERATOR_OR",
		9:  "OPERATOR_WITHIN_GEO_RANGE",
		10: "OPERATOR_LIKE",
		11: "OPERATOR_IS_NULL",
		12: "OPERATOR_CONTAINS_ANY",
		13: "OPERATOR_CONTAINS_ALL",
	}
	Filters_Operator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED":        0,
		"OPERATOR_EQUAL":              1,
		"OPERATOR_NOT_EQUAL":          2,
		"OPERATOR_GREATER_THAN":       3,
		"OPERATOR_GREATER_THAN_EQUAL": 4,
		"OPERATOR_LESS_THAN":          5,
		"OPERATOR_LESS_THAN_EQUAL":    6,
		"OPERATOR_AND":                7,
		"OPERATOR_OR":                 8,
		"OPERATOR_WITHIN_GEO_RANGE":   9,
		"OPERATOR_LIKE":               10,
		"OPERATOR_IS_NULL":            11,
		"OPERATOR_CONTAINS_ANY":       12,
		"OPERATOR_CONTAINS_ALL":       13,
	}
)

Enum value maps for Filters_Operator.

View Source
var (
	HybridSearchParams_FusionType_name = map[int32]string{
		0: "FUSION_TYPE_UNSPECIFIED",
		1: "FUSION_TYPE_RANKED",
		2: "FUSION_TYPE_RELATIVE_SCORE",
	}
	HybridSearchParams_FusionType_value = map[string]int32{
		"FUSION_TYPE_UNSPECIFIED":    0,
		"FUSION_TYPE_RANKED":         1,
		"FUSION_TYPE_RELATIVE_SCORE": 2,
	}
)

Enum value maps for HybridSearchParams_FusionType.

View Source
var File_weaviate_proto protoreflect.FileDescriptor
View Source
var Weaviate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "weaviategrpc.Weaviate",
	HandlerType: (*WeaviateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Search",
			Handler:    _Weaviate_Search_Handler,
		},
		{
			MethodName: "BatchObjects",
			Handler:    _Weaviate_BatchObjects_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "weaviate.proto",
}

Weaviate_ServiceDesc is the grpc.ServiceDesc for Weaviate service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterWeaviateServer

func RegisterWeaviateServer(s grpc.ServiceRegistrar, srv WeaviateServer)

Types

type AdditionalProperties added in v1.19.3

type AdditionalProperties struct {
	Uuid   bool `protobuf:"varint,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Vector bool `protobuf:"varint,2,opt,name=vector,proto3" json:"vector,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	CreationTimeUnix bool `protobuf:"varint,3,opt,name=creationTimeUnix,proto3" json:"creationTimeUnix,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	LastUpdateTimeUnix bool `protobuf:"varint,4,opt,name=lastUpdateTimeUnix,proto3" json:"lastUpdateTimeUnix,omitempty"`
	Distance           bool `protobuf:"varint,5,opt,name=distance,proto3" json:"distance,omitempty"`
	Certainty          bool `protobuf:"varint,6,opt,name=certainty,proto3" json:"certainty,omitempty"`
	Score              bool `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"`
	// protolint:disable:next FIELD_NAMES_LOWER_SNAKE_CASE
	ExplainScore bool `protobuf:"varint,8,opt,name=explainScore,proto3" json:"explainScore,omitempty"`
	// contains filtered or unexported fields
}

func (*AdditionalProperties) Descriptor deprecated added in v1.19.3

func (*AdditionalProperties) Descriptor() ([]byte, []int)

Deprecated: Use AdditionalProperties.ProtoReflect.Descriptor instead.

func (*AdditionalProperties) GetCertainty added in v1.19.3

func (x *AdditionalProperties) GetCertainty() bool

func (*AdditionalProperties) GetCreationTimeUnix added in v1.19.3

func (x *AdditionalProperties) GetCreationTimeUnix() bool

func (*AdditionalProperties) GetDistance added in v1.19.3

func (x *AdditionalProperties) GetDistance() bool

func (*AdditionalProperties) GetExplainScore added in v1.19.3

func (x *AdditionalProperties) GetExplainScore() bool

func (*AdditionalProperties) GetLastUpdateTimeUnix added in v1.19.3

func (x *AdditionalProperties) GetLastUpdateTimeUnix() bool

func (*AdditionalProperties) GetScore added in v1.19.3

func (x *AdditionalProperties) GetScore() bool

func (*AdditionalProperties) GetUuid added in v1.19.3

func (x *AdditionalProperties) GetUuid() bool

func (*AdditionalProperties) GetVector added in v1.19.3

func (x *AdditionalProperties) GetVector() bool

func (*AdditionalProperties) ProtoMessage added in v1.19.3

func (*AdditionalProperties) ProtoMessage()

func (*AdditionalProperties) ProtoReflect added in v1.19.3

func (x *AdditionalProperties) ProtoReflect() protoreflect.Message

func (*AdditionalProperties) Reset added in v1.19.3

func (x *AdditionalProperties) Reset()

func (*AdditionalProperties) String added in v1.19.3

func (x *AdditionalProperties) String() string

type BM25SearchParams added in v1.19.3

type BM25SearchParams struct {
	Query      string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*BM25SearchParams) Descriptor deprecated added in v1.19.3

func (*BM25SearchParams) Descriptor() ([]byte, []int)

Deprecated: Use BM25SearchParams.ProtoReflect.Descriptor instead.

func (*BM25SearchParams) GetProperties added in v1.19.3

func (x *BM25SearchParams) GetProperties() []string

func (*BM25SearchParams) GetQuery added in v1.19.3

func (x *BM25SearchParams) GetQuery() string

func (*BM25SearchParams) ProtoMessage added in v1.19.3

func (*BM25SearchParams) ProtoMessage()

func (*BM25SearchParams) ProtoReflect added in v1.19.3

func (x *BM25SearchParams) ProtoReflect() protoreflect.Message

func (*BM25SearchParams) Reset added in v1.19.3

func (x *BM25SearchParams) Reset()

func (*BM25SearchParams) String added in v1.19.3

func (x *BM25SearchParams) String() string

type BatchObject added in v1.21.0

type BatchObject struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector     []float32               `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Properties *BatchObject_Properties `protobuf:"bytes,3,opt,name=properties,proto3" json:"properties,omitempty"`
	ClassName  string                  `protobuf:"bytes,4,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Tenant     string                  `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject) Descriptor deprecated added in v1.21.0

func (*BatchObject) Descriptor() ([]byte, []int)

Deprecated: Use BatchObject.ProtoReflect.Descriptor instead.

func (*BatchObject) GetClassName added in v1.21.0

func (x *BatchObject) GetClassName() string

func (*BatchObject) GetProperties added in v1.21.0

func (x *BatchObject) GetProperties() *BatchObject_Properties

func (*BatchObject) GetTenant added in v1.21.0

func (x *BatchObject) GetTenant() string

func (*BatchObject) GetUuid added in v1.21.0

func (x *BatchObject) GetUuid() string

func (*BatchObject) GetVector added in v1.21.0

func (x *BatchObject) GetVector() []float32

func (*BatchObject) ProtoMessage added in v1.21.0

func (*BatchObject) ProtoMessage()

func (*BatchObject) ProtoReflect added in v1.21.0

func (x *BatchObject) ProtoReflect() protoreflect.Message

func (*BatchObject) Reset added in v1.21.0

func (x *BatchObject) Reset()

func (*BatchObject) String added in v1.21.0

func (x *BatchObject) String() string

type BatchObject_Properties added in v1.21.0

type BatchObject_Properties struct {
	NonRefProperties *structpb.Struct `protobuf:"bytes,1,opt,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	RefPropsSingle []*BatchObject_RefPropertiesSingleTarget `protobuf:"bytes,2,rep,name=ref_props_single,json=refPropsSingle,proto3" json:"ref_props_single,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	RefPropsMulti []*BatchObject_RefPropertiesMultiTarget `protobuf:"bytes,3,rep,name=ref_props_multi,json=refPropsMulti,proto3" json:"ref_props_multi,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject_Properties) Descriptor deprecated added in v1.21.0

func (*BatchObject_Properties) Descriptor() ([]byte, []int)

Deprecated: Use BatchObject_Properties.ProtoReflect.Descriptor instead.

func (*BatchObject_Properties) GetNonRefProperties added in v1.21.0

func (x *BatchObject_Properties) GetNonRefProperties() *structpb.Struct

func (*BatchObject_Properties) GetRefPropsMulti added in v1.21.0

func (*BatchObject_Properties) GetRefPropsSingle added in v1.21.0

func (*BatchObject_Properties) ProtoMessage added in v1.21.0

func (*BatchObject_Properties) ProtoMessage()

func (*BatchObject_Properties) ProtoReflect added in v1.21.0

func (x *BatchObject_Properties) ProtoReflect() protoreflect.Message

func (*BatchObject_Properties) Reset added in v1.21.0

func (x *BatchObject_Properties) Reset()

func (*BatchObject_Properties) String added in v1.21.0

func (x *BatchObject_Properties) String() string

type BatchObject_RefPropertiesMultiTarget added in v1.21.0

type BatchObject_RefPropertiesMultiTarget struct {
	Uuids            []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
	PropName         string   `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	TargetCollection string   `protobuf:"bytes,3,opt,name=target_collection,json=targetCollection,proto3" json:"target_collection,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject_RefPropertiesMultiTarget) Descriptor deprecated added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) Descriptor() ([]byte, []int)

Deprecated: Use BatchObject_RefPropertiesMultiTarget.ProtoReflect.Descriptor instead.

func (*BatchObject_RefPropertiesMultiTarget) GetPropName added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) GetTargetCollection added in v1.21.0

func (x *BatchObject_RefPropertiesMultiTarget) GetTargetCollection() string

func (*BatchObject_RefPropertiesMultiTarget) GetUuids added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) ProtoMessage added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) ProtoMessage()

func (*BatchObject_RefPropertiesMultiTarget) ProtoReflect added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) Reset added in v1.21.0

func (*BatchObject_RefPropertiesMultiTarget) String added in v1.21.0

type BatchObject_RefPropertiesSingleTarget added in v1.21.0

type BatchObject_RefPropertiesSingleTarget struct {
	Uuids    []string `protobuf:"bytes,1,rep,name=uuids,proto3" json:"uuids,omitempty"`
	PropName string   `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObject_RefPropertiesSingleTarget) Descriptor deprecated added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) Descriptor() ([]byte, []int)

Deprecated: Use BatchObject_RefPropertiesSingleTarget.ProtoReflect.Descriptor instead.

func (*BatchObject_RefPropertiesSingleTarget) GetPropName added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) GetUuids added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) ProtoMessage added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) ProtoMessage()

func (*BatchObject_RefPropertiesSingleTarget) ProtoReflect added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) Reset added in v1.21.0

func (*BatchObject_RefPropertiesSingleTarget) String added in v1.21.0

type BatchObjectsReply added in v1.21.0

type BatchObjectsReply struct {
	Results []*BatchObjectsReply_BatchResults `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Took    float32                           `protobuf:"fixed32,2,opt,name=took,proto3" json:"took,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObjectsReply) Descriptor deprecated added in v1.21.0

func (*BatchObjectsReply) Descriptor() ([]byte, []int)

Deprecated: Use BatchObjectsReply.ProtoReflect.Descriptor instead.

func (*BatchObjectsReply) GetResults added in v1.21.0

func (*BatchObjectsReply) GetTook added in v1.21.0

func (x *BatchObjectsReply) GetTook() float32

func (*BatchObjectsReply) ProtoMessage added in v1.21.0

func (*BatchObjectsReply) ProtoMessage()

func (*BatchObjectsReply) ProtoReflect added in v1.21.0

func (x *BatchObjectsReply) ProtoReflect() protoreflect.Message

func (*BatchObjectsReply) Reset added in v1.21.0

func (x *BatchObjectsReply) Reset()

func (*BatchObjectsReply) String added in v1.21.0

func (x *BatchObjectsReply) String() string

type BatchObjectsReply_BatchResults added in v1.21.0

type BatchObjectsReply_BatchResults struct {
	Index int32  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObjectsReply_BatchResults) Descriptor deprecated added in v1.21.0

func (*BatchObjectsReply_BatchResults) Descriptor() ([]byte, []int)

Deprecated: Use BatchObjectsReply_BatchResults.ProtoReflect.Descriptor instead.

func (*BatchObjectsReply_BatchResults) GetError added in v1.21.0

func (x *BatchObjectsReply_BatchResults) GetError() string

func (*BatchObjectsReply_BatchResults) GetIndex added in v1.21.0

func (x *BatchObjectsReply_BatchResults) GetIndex() int32

func (*BatchObjectsReply_BatchResults) ProtoMessage added in v1.21.0

func (*BatchObjectsReply_BatchResults) ProtoMessage()

func (*BatchObjectsReply_BatchResults) ProtoReflect added in v1.21.0

func (*BatchObjectsReply_BatchResults) Reset added in v1.21.0

func (x *BatchObjectsReply_BatchResults) Reset()

func (*BatchObjectsReply_BatchResults) String added in v1.21.0

type BatchObjectsRequest added in v1.21.0

type BatchObjectsRequest struct {
	Objects []*BatchObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchObjectsRequest) Descriptor deprecated added in v1.21.0

func (*BatchObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchObjectsRequest.ProtoReflect.Descriptor instead.

func (*BatchObjectsRequest) GetObjects added in v1.21.0

func (x *BatchObjectsRequest) GetObjects() []*BatchObject

func (*BatchObjectsRequest) ProtoMessage added in v1.21.0

func (*BatchObjectsRequest) ProtoMessage()

func (*BatchObjectsRequest) ProtoReflect added in v1.21.0

func (x *BatchObjectsRequest) ProtoReflect() protoreflect.Message

func (*BatchObjectsRequest) Reset added in v1.21.0

func (x *BatchObjectsRequest) Reset()

func (*BatchObjectsRequest) String added in v1.21.0

func (x *BatchObjectsRequest) String() string

type BooleanArray added in v1.21.2

type BooleanArray struct {
	Vals []bool `protobuf:"varint,1,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanArray) Descriptor deprecated added in v1.21.2

func (*BooleanArray) Descriptor() ([]byte, []int)

Deprecated: Use BooleanArray.ProtoReflect.Descriptor instead.

func (*BooleanArray) GetVals added in v1.21.2

func (x *BooleanArray) GetVals() []bool

func (*BooleanArray) ProtoMessage added in v1.21.2

func (*BooleanArray) ProtoMessage()

func (*BooleanArray) ProtoReflect added in v1.21.2

func (x *BooleanArray) ProtoReflect() protoreflect.Message

func (*BooleanArray) Reset added in v1.21.2

func (x *BooleanArray) Reset()

func (*BooleanArray) String added in v1.21.2

func (x *BooleanArray) String() string

type BooleanArrayProperties added in v1.21.2

type BooleanArrayProperties struct {
	Key  string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []bool `protobuf:"varint,2,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*BooleanArrayProperties) Descriptor deprecated added in v1.21.2

func (*BooleanArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use BooleanArrayProperties.ProtoReflect.Descriptor instead.

func (*BooleanArrayProperties) GetKey added in v1.21.2

func (x *BooleanArrayProperties) GetKey() string

func (*BooleanArrayProperties) GetVals added in v1.21.2

func (x *BooleanArrayProperties) GetVals() []bool

func (*BooleanArrayProperties) ProtoMessage added in v1.21.2

func (*BooleanArrayProperties) ProtoMessage()

func (*BooleanArrayProperties) ProtoReflect added in v1.21.2

func (x *BooleanArrayProperties) ProtoReflect() protoreflect.Message

func (*BooleanArrayProperties) Reset added in v1.21.2

func (x *BooleanArrayProperties) Reset()

func (*BooleanArrayProperties) String added in v1.21.2

func (x *BooleanArrayProperties) String() string

type DateArray added in v1.21.2

type DateArray struct {
	Vals []*timestamppb.Timestamp `protobuf:"bytes,1,rep,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*DateArray) Descriptor deprecated added in v1.21.2

func (*DateArray) Descriptor() ([]byte, []int)

Deprecated: Use DateArray.ProtoReflect.Descriptor instead.

func (*DateArray) GetVals added in v1.21.2

func (x *DateArray) GetVals() []*timestamppb.Timestamp

func (*DateArray) ProtoMessage added in v1.21.2

func (*DateArray) ProtoMessage()

func (*DateArray) ProtoReflect added in v1.21.2

func (x *DateArray) ProtoReflect() protoreflect.Message

func (*DateArray) Reset added in v1.21.2

func (x *DateArray) Reset()

func (*DateArray) String added in v1.21.2

func (x *DateArray) String() string

type DateArrayProperties added in v1.21.2

type DateArrayProperties struct {
	Key  string                   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*DateArrayProperties) Descriptor deprecated added in v1.21.2

func (*DateArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use DateArrayProperties.ProtoReflect.Descriptor instead.

func (*DateArrayProperties) GetKey added in v1.21.2

func (x *DateArrayProperties) GetKey() string

func (*DateArrayProperties) GetVals added in v1.21.2

func (x *DateArrayProperties) GetVals() []*timestamppb.Timestamp

func (*DateArrayProperties) ProtoMessage added in v1.21.2

func (*DateArrayProperties) ProtoMessage()

func (*DateArrayProperties) ProtoReflect added in v1.21.2

func (x *DateArrayProperties) ProtoReflect() protoreflect.Message

func (*DateArrayProperties) Reset added in v1.21.2

func (x *DateArrayProperties) Reset()

func (*DateArrayProperties) String added in v1.21.2

func (x *DateArrayProperties) String() string

type Filters added in v1.21.0

type Filters struct {
	Operator Filters_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=weaviategrpc.Filters_Operator" json:"operator,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	On      []string   `protobuf:"bytes,2,rep,name=on,proto3" json:"on,omitempty"`
	Filters []*Filters `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// Types that are assignable to TestValue:
	//
	//	*Filters_ValueText
	//	*Filters_ValueInt
	//	*Filters_ValueBoolean
	//	*Filters_ValueNumber
	//	*Filters_ValueDate
	//	*Filters_ValueTextArray
	//	*Filters_ValueIntArray
	//	*Filters_ValueBooleanArray
	//	*Filters_ValueNumberArray
	//	*Filters_ValueDateArray
	TestValue isFilters_TestValue `protobuf_oneof:"test_value"`
	// contains filtered or unexported fields
}

func (*Filters) Descriptor deprecated added in v1.21.0

func (*Filters) Descriptor() ([]byte, []int)

Deprecated: Use Filters.ProtoReflect.Descriptor instead.

func (*Filters) GetFilters added in v1.21.0

func (x *Filters) GetFilters() []*Filters

func (*Filters) GetOn added in v1.21.0

func (x *Filters) GetOn() []string

func (*Filters) GetOperator added in v1.21.0

func (x *Filters) GetOperator() Filters_Operator

func (*Filters) GetTestValue added in v1.21.0

func (m *Filters) GetTestValue() isFilters_TestValue

func (*Filters) GetValueBoolean added in v1.21.2

func (x *Filters) GetValueBoolean() bool

func (*Filters) GetValueBooleanArray added in v1.21.2

func (x *Filters) GetValueBooleanArray() *BooleanArray

func (*Filters) GetValueDate added in v1.21.0

func (x *Filters) GetValueDate() *timestamppb.Timestamp

func (*Filters) GetValueDateArray added in v1.21.2

func (x *Filters) GetValueDateArray() *DateArray

func (*Filters) GetValueInt added in v1.21.0

func (x *Filters) GetValueInt() int64

func (*Filters) GetValueIntArray added in v1.21.2

func (x *Filters) GetValueIntArray() *IntArray

func (*Filters) GetValueNumber added in v1.21.2

func (x *Filters) GetValueNumber() float32

func (*Filters) GetValueNumberArray added in v1.21.2

func (x *Filters) GetValueNumberArray() *NumberArray

func (*Filters) GetValueText added in v1.21.2

func (x *Filters) GetValueText() string

func (*Filters) GetValueTextArray added in v1.21.2

func (x *Filters) GetValueTextArray() *TextArray

func (*Filters) ProtoMessage added in v1.21.0

func (*Filters) ProtoMessage()

func (*Filters) ProtoReflect added in v1.21.0

func (x *Filters) ProtoReflect() protoreflect.Message

func (*Filters) Reset added in v1.21.0

func (x *Filters) Reset()

func (*Filters) String added in v1.21.0

func (x *Filters) String() string

type Filters_Operator added in v1.21.2

type Filters_Operator int32
const (
	Filters_OPERATOR_UNSPECIFIED        Filters_Operator = 0
	Filters_OPERATOR_EQUAL              Filters_Operator = 1
	Filters_OPERATOR_NOT_EQUAL          Filters_Operator = 2
	Filters_OPERATOR_GREATER_THAN       Filters_Operator = 3
	Filters_OPERATOR_GREATER_THAN_EQUAL Filters_Operator = 4
	Filters_OPERATOR_LESS_THAN          Filters_Operator = 5
	Filters_OPERATOR_LESS_THAN_EQUAL    Filters_Operator = 6
	Filters_OPERATOR_AND                Filters_Operator = 7
	Filters_OPERATOR_OR                 Filters_Operator = 8
	Filters_OPERATOR_WITHIN_GEO_RANGE   Filters_Operator = 9
	Filters_OPERATOR_LIKE               Filters_Operator = 10
	Filters_OPERATOR_IS_NULL            Filters_Operator = 11
	Filters_OPERATOR_CONTAINS_ANY       Filters_Operator = 12
	Filters_OPERATOR_CONTAINS_ALL       Filters_Operator = 13
)

func (Filters_Operator) Descriptor added in v1.21.2

func (Filters_Operator) Enum added in v1.21.2

func (Filters_Operator) EnumDescriptor deprecated added in v1.21.2

func (Filters_Operator) EnumDescriptor() ([]byte, []int)

Deprecated: Use Filters_Operator.Descriptor instead.

func (Filters_Operator) Number added in v1.21.2

func (Filters_Operator) String added in v1.21.2

func (x Filters_Operator) String() string

func (Filters_Operator) Type added in v1.21.2

type Filters_ValueBoolean added in v1.21.2

type Filters_ValueBoolean struct {
	ValueBoolean bool `protobuf:"varint,6,opt,name=value_boolean,json=valueBoolean,proto3,oneof"`
}

type Filters_ValueBooleanArray added in v1.21.2

type Filters_ValueBooleanArray struct {
	ValueBooleanArray *BooleanArray `protobuf:"bytes,11,opt,name=value_boolean_array,json=valueBooleanArray,proto3,oneof"`
}

type Filters_ValueDate added in v1.21.0

type Filters_ValueDate struct {
	ValueDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=value_date,json=valueDate,proto3,oneof"`
}

type Filters_ValueDateArray added in v1.21.2

type Filters_ValueDateArray struct {
	ValueDateArray *DateArray `protobuf:"bytes,13,opt,name=value_date_array,json=valueDateArray,proto3,oneof"`
}

type Filters_ValueInt added in v1.21.0

type Filters_ValueInt struct {
	ValueInt int64 `protobuf:"varint,5,opt,name=value_int,json=valueInt,proto3,oneof"`
}

type Filters_ValueIntArray added in v1.21.2

type Filters_ValueIntArray struct {
	ValueIntArray *IntArray `protobuf:"bytes,10,opt,name=value_int_array,json=valueIntArray,proto3,oneof"`
}

type Filters_ValueNumber added in v1.21.2

type Filters_ValueNumber struct {
	ValueNumber float32 `protobuf:"fixed32,7,opt,name=value_number,json=valueNumber,proto3,oneof"`
}

type Filters_ValueNumberArray added in v1.21.2

type Filters_ValueNumberArray struct {
	ValueNumberArray *NumberArray `protobuf:"bytes,12,opt,name=value_number_array,json=valueNumberArray,proto3,oneof"`
}

type Filters_ValueText added in v1.21.2

type Filters_ValueText struct {
	ValueText string `protobuf:"bytes,4,opt,name=value_text,json=valueText,proto3,oneof"`
}

type Filters_ValueTextArray added in v1.21.2

type Filters_ValueTextArray struct {
	ValueTextArray *TextArray `protobuf:"bytes,9,opt,name=value_text_array,json=valueTextArray,proto3,oneof"`
}

type HybridSearchParams added in v1.19.3

type HybridSearchParams struct {
	Query      string   `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Properties []string `protobuf:"bytes,2,rep,name=properties,proto3" json:"properties,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector     []float32                     `protobuf:"fixed32,3,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Alpha      float32                       `protobuf:"fixed32,4,opt,name=alpha,proto3" json:"alpha,omitempty"`
	FusionType HybridSearchParams_FusionType `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HybridSearchParams) Descriptor deprecated added in v1.19.3

func (*HybridSearchParams) Descriptor() ([]byte, []int)

Deprecated: Use HybridSearchParams.ProtoReflect.Descriptor instead.

func (*HybridSearchParams) GetAlpha added in v1.19.3

func (x *HybridSearchParams) GetAlpha() float32

func (*HybridSearchParams) GetFusionType added in v1.21.0

func (*HybridSearchParams) GetProperties added in v1.19.3

func (x *HybridSearchParams) GetProperties() []string

func (*HybridSearchParams) GetQuery added in v1.19.3

func (x *HybridSearchParams) GetQuery() string

func (*HybridSearchParams) GetVector added in v1.19.3

func (x *HybridSearchParams) GetVector() []float32

func (*HybridSearchParams) ProtoMessage added in v1.19.3

func (*HybridSearchParams) ProtoMessage()

func (*HybridSearchParams) ProtoReflect added in v1.19.3

func (x *HybridSearchParams) ProtoReflect() protoreflect.Message

func (*HybridSearchParams) Reset added in v1.19.3

func (x *HybridSearchParams) Reset()

func (*HybridSearchParams) String added in v1.19.3

func (x *HybridSearchParams) String() string

type HybridSearchParams_FusionType added in v1.21.0

type HybridSearchParams_FusionType int32
const (
	HybridSearchParams_FUSION_TYPE_UNSPECIFIED    HybridSearchParams_FusionType = 0
	HybridSearchParams_FUSION_TYPE_RANKED         HybridSearchParams_FusionType = 1
	HybridSearchParams_FUSION_TYPE_RELATIVE_SCORE HybridSearchParams_FusionType = 2
)

func (HybridSearchParams_FusionType) Descriptor added in v1.21.0

func (HybridSearchParams_FusionType) Enum added in v1.21.0

func (HybridSearchParams_FusionType) EnumDescriptor deprecated added in v1.21.0

func (HybridSearchParams_FusionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HybridSearchParams_FusionType.Descriptor instead.

func (HybridSearchParams_FusionType) Number added in v1.21.0

func (HybridSearchParams_FusionType) String added in v1.21.0

func (HybridSearchParams_FusionType) Type added in v1.21.0

type IntArray added in v1.21.2

type IntArray struct {
	Vals []int32 `protobuf:"varint,1,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArray) Descriptor deprecated added in v1.21.2

func (*IntArray) Descriptor() ([]byte, []int)

Deprecated: Use IntArray.ProtoReflect.Descriptor instead.

func (*IntArray) GetVals added in v1.21.2

func (x *IntArray) GetVals() []int32

func (*IntArray) ProtoMessage added in v1.21.2

func (*IntArray) ProtoMessage()

func (*IntArray) ProtoReflect added in v1.21.2

func (x *IntArray) ProtoReflect() protoreflect.Message

func (*IntArray) Reset added in v1.21.2

func (x *IntArray) Reset()

func (*IntArray) String added in v1.21.2

func (x *IntArray) String() string

type IntArrayProperties added in v1.21.2

type IntArrayProperties struct {
	Key  string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []int32 `protobuf:"varint,2,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArrayProperties) Descriptor deprecated added in v1.21.2

func (*IntArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use IntArrayProperties.ProtoReflect.Descriptor instead.

func (*IntArrayProperties) GetKey added in v1.21.2

func (x *IntArrayProperties) GetKey() string

func (*IntArrayProperties) GetVals added in v1.21.2

func (x *IntArrayProperties) GetVals() []int32

func (*IntArrayProperties) ProtoMessage added in v1.21.2

func (*IntArrayProperties) ProtoMessage()

func (*IntArrayProperties) ProtoReflect added in v1.21.2

func (x *IntArrayProperties) ProtoReflect() protoreflect.Message

func (*IntArrayProperties) Reset added in v1.21.2

func (x *IntArrayProperties) Reset()

func (*IntArrayProperties) String added in v1.21.2

func (x *IntArrayProperties) String() string

type NearObjectParams

type NearObjectParams struct {
	Id        string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Certainty *float64 `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64 `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearObjectParams) Descriptor deprecated

func (*NearObjectParams) Descriptor() ([]byte, []int)

Deprecated: Use NearObjectParams.ProtoReflect.Descriptor instead.

func (*NearObjectParams) GetCertainty

func (x *NearObjectParams) GetCertainty() float64

func (*NearObjectParams) GetDistance

func (x *NearObjectParams) GetDistance() float64

func (*NearObjectParams) GetId

func (x *NearObjectParams) GetId() string

func (*NearObjectParams) ProtoMessage

func (*NearObjectParams) ProtoMessage()

func (*NearObjectParams) ProtoReflect

func (x *NearObjectParams) ProtoReflect() protoreflect.Message

func (*NearObjectParams) Reset

func (x *NearObjectParams) Reset()

func (*NearObjectParams) String

func (x *NearObjectParams) String() string

type NearVectorParams

type NearVectorParams struct {

	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector    []float32 `protobuf:"fixed32,1,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	Certainty *float64  `protobuf:"fixed64,2,opt,name=certainty,proto3,oneof" json:"certainty,omitempty"`
	Distance  *float64  `protobuf:"fixed64,3,opt,name=distance,proto3,oneof" json:"distance,omitempty"`
	// contains filtered or unexported fields
}

func (*NearVectorParams) Descriptor deprecated

func (*NearVectorParams) Descriptor() ([]byte, []int)

Deprecated: Use NearVectorParams.ProtoReflect.Descriptor instead.

func (*NearVectorParams) GetCertainty

func (x *NearVectorParams) GetCertainty() float64

func (*NearVectorParams) GetDistance

func (x *NearVectorParams) GetDistance() float64

func (*NearVectorParams) GetVector

func (x *NearVectorParams) GetVector() []float32

func (*NearVectorParams) ProtoMessage

func (*NearVectorParams) ProtoMessage()

func (*NearVectorParams) ProtoReflect

func (x *NearVectorParams) ProtoReflect() protoreflect.Message

func (*NearVectorParams) Reset

func (x *NearVectorParams) Reset()

func (*NearVectorParams) String

func (x *NearVectorParams) String() string

type NumberArray added in v1.21.2

type NumberArray struct {
	Vals []float64 `protobuf:"fixed64,1,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberArray) Descriptor deprecated added in v1.21.2

func (*NumberArray) Descriptor() ([]byte, []int)

Deprecated: Use NumberArray.ProtoReflect.Descriptor instead.

func (*NumberArray) GetVals added in v1.21.2

func (x *NumberArray) GetVals() []float64

func (*NumberArray) ProtoMessage added in v1.21.2

func (*NumberArray) ProtoMessage()

func (*NumberArray) ProtoReflect added in v1.21.2

func (x *NumberArray) ProtoReflect() protoreflect.Message

func (*NumberArray) Reset added in v1.21.2

func (x *NumberArray) Reset()

func (*NumberArray) String added in v1.21.2

func (x *NumberArray) String() string

type NumberArrayProperties added in v1.21.2

type NumberArrayProperties struct {
	Key  string    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []float64 `protobuf:"fixed64,2,rep,packed,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberArrayProperties) Descriptor deprecated added in v1.21.2

func (*NumberArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use NumberArrayProperties.ProtoReflect.Descriptor instead.

func (*NumberArrayProperties) GetKey added in v1.21.2

func (x *NumberArrayProperties) GetKey() string

func (*NumberArrayProperties) GetVals added in v1.21.2

func (x *NumberArrayProperties) GetVals() []float64

func (*NumberArrayProperties) ProtoMessage added in v1.21.2

func (*NumberArrayProperties) ProtoMessage()

func (*NumberArrayProperties) ProtoReflect added in v1.21.2

func (x *NumberArrayProperties) ProtoReflect() protoreflect.Message

func (*NumberArrayProperties) Reset added in v1.21.2

func (x *NumberArrayProperties) Reset()

func (*NumberArrayProperties) String added in v1.21.2

func (x *NumberArrayProperties) String() string

type Properties added in v1.19.3

type Properties struct {
	NonRefProperties []string         `protobuf:"bytes,1,rep,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	RefProperties    []*RefProperties `protobuf:"bytes,2,rep,name=ref_properties,json=refProperties,proto3" json:"ref_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*Properties) Descriptor deprecated added in v1.19.3

func (*Properties) Descriptor() ([]byte, []int)

Deprecated: Use Properties.ProtoReflect.Descriptor instead.

func (*Properties) GetNonRefProperties added in v1.19.3

func (x *Properties) GetNonRefProperties() []string

func (*Properties) GetRefProperties added in v1.19.3

func (x *Properties) GetRefProperties() []*RefProperties

func (*Properties) ProtoMessage added in v1.19.3

func (*Properties) ProtoMessage()

func (*Properties) ProtoReflect added in v1.19.3

func (x *Properties) ProtoReflect() protoreflect.Message

func (*Properties) Reset added in v1.19.3

func (x *Properties) Reset()

func (*Properties) String added in v1.19.3

func (x *Properties) String() string

type RefProperties added in v1.19.3

type RefProperties struct {
	ReferenceProperty string                `protobuf:"bytes,2,opt,name=reference_property,json=referenceProperty,proto3" json:"reference_property,omitempty"`
	LinkedProperties  *Properties           `protobuf:"bytes,3,opt,name=linked_properties,json=linkedProperties,proto3" json:"linked_properties,omitempty"`
	Metadata          *AdditionalProperties `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	WhichCollection   string                `protobuf:"bytes,5,opt,name=which_collection,json=whichCollection,proto3" json:"which_collection,omitempty"`
	// contains filtered or unexported fields
}

func (*RefProperties) Descriptor deprecated added in v1.19.3

func (*RefProperties) Descriptor() ([]byte, []int)

Deprecated: Use RefProperties.ProtoReflect.Descriptor instead.

func (*RefProperties) GetLinkedProperties added in v1.19.3

func (x *RefProperties) GetLinkedProperties() *Properties

func (*RefProperties) GetMetadata added in v1.21.0

func (x *RefProperties) GetMetadata() *AdditionalProperties

func (*RefProperties) GetReferenceProperty added in v1.19.3

func (x *RefProperties) GetReferenceProperty() string

func (*RefProperties) GetWhichCollection added in v1.21.0

func (x *RefProperties) GetWhichCollection() string

func (*RefProperties) ProtoMessage added in v1.19.3

func (*RefProperties) ProtoMessage()

func (*RefProperties) ProtoReflect added in v1.19.3

func (x *RefProperties) ProtoReflect() protoreflect.Message

func (*RefProperties) Reset added in v1.19.3

func (x *RefProperties) Reset()

func (*RefProperties) String added in v1.19.3

func (x *RefProperties) String() string

type ResultAdditionalProps added in v1.19.3

type ResultAdditionalProps struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
	Vector                    []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
	CreationTimeUnix          int64     `protobuf:"varint,3,opt,name=creation_time_unix,json=creationTimeUnix,proto3" json:"creation_time_unix,omitempty"`
	CreationTimeUnixPresent   bool      `` /* 135-byte string literal not displayed */
	LastUpdateTimeUnix        int64     `protobuf:"varint,5,opt,name=last_update_time_unix,json=lastUpdateTimeUnix,proto3" json:"last_update_time_unix,omitempty"`
	LastUpdateTimeUnixPresent bool      `` /* 143-byte string literal not displayed */
	Distance                  float32   `protobuf:"fixed32,7,opt,name=distance,proto3" json:"distance,omitempty"`
	DistancePresent           bool      `protobuf:"varint,8,opt,name=distance_present,json=distancePresent,proto3" json:"distance_present,omitempty"`
	Certainty                 float32   `protobuf:"fixed32,9,opt,name=certainty,proto3" json:"certainty,omitempty"`
	CertaintyPresent          bool      `protobuf:"varint,10,opt,name=certainty_present,json=certaintyPresent,proto3" json:"certainty_present,omitempty"`
	Score                     float32   `protobuf:"fixed32,11,opt,name=score,proto3" json:"score,omitempty"`
	ScorePresent              bool      `protobuf:"varint,12,opt,name=score_present,json=scorePresent,proto3" json:"score_present,omitempty"`
	ExplainScore              string    `protobuf:"bytes,13,opt,name=explain_score,json=explainScore,proto3" json:"explain_score,omitempty"`
	ExplainScorePresent       bool      `protobuf:"varint,14,opt,name=explain_score_present,json=explainScorePresent,proto3" json:"explain_score_present,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultAdditionalProps) Descriptor deprecated added in v1.19.3

func (*ResultAdditionalProps) Descriptor() ([]byte, []int)

Deprecated: Use ResultAdditionalProps.ProtoReflect.Descriptor instead.

func (*ResultAdditionalProps) GetCertainty added in v1.19.3

func (x *ResultAdditionalProps) GetCertainty() float32

func (*ResultAdditionalProps) GetCertaintyPresent added in v1.19.3

func (x *ResultAdditionalProps) GetCertaintyPresent() bool

func (*ResultAdditionalProps) GetCreationTimeUnix added in v1.19.3

func (x *ResultAdditionalProps) GetCreationTimeUnix() int64

func (*ResultAdditionalProps) GetCreationTimeUnixPresent added in v1.19.3

func (x *ResultAdditionalProps) GetCreationTimeUnixPresent() bool

func (*ResultAdditionalProps) GetDistance added in v1.19.3

func (x *ResultAdditionalProps) GetDistance() float32

func (*ResultAdditionalProps) GetDistancePresent added in v1.19.3

func (x *ResultAdditionalProps) GetDistancePresent() bool

func (*ResultAdditionalProps) GetExplainScore added in v1.19.3

func (x *ResultAdditionalProps) GetExplainScore() string

func (*ResultAdditionalProps) GetExplainScorePresent added in v1.19.3

func (x *ResultAdditionalProps) GetExplainScorePresent() bool

func (*ResultAdditionalProps) GetId added in v1.19.3

func (x *ResultAdditionalProps) GetId() string

func (*ResultAdditionalProps) GetLastUpdateTimeUnix added in v1.19.3

func (x *ResultAdditionalProps) GetLastUpdateTimeUnix() int64

func (*ResultAdditionalProps) GetLastUpdateTimeUnixPresent added in v1.19.3

func (x *ResultAdditionalProps) GetLastUpdateTimeUnixPresent() bool

func (*ResultAdditionalProps) GetScore added in v1.19.3

func (x *ResultAdditionalProps) GetScore() float32

func (*ResultAdditionalProps) GetScorePresent added in v1.19.3

func (x *ResultAdditionalProps) GetScorePresent() bool

func (*ResultAdditionalProps) GetVector added in v1.19.3

func (x *ResultAdditionalProps) GetVector() []float32

func (*ResultAdditionalProps) ProtoMessage added in v1.19.3

func (*ResultAdditionalProps) ProtoMessage()

func (*ResultAdditionalProps) ProtoReflect added in v1.19.3

func (x *ResultAdditionalProps) ProtoReflect() protoreflect.Message

func (*ResultAdditionalProps) Reset added in v1.19.3

func (x *ResultAdditionalProps) Reset()

func (*ResultAdditionalProps) String added in v1.19.3

func (x *ResultAdditionalProps) String() string

type ResultProperties added in v1.19.3

type ResultProperties struct {
	NonRefProperties       *structpb.Struct          `protobuf:"bytes,1,opt,name=non_ref_properties,json=nonRefProperties,proto3" json:"non_ref_properties,omitempty"`
	RefProps               []*ReturnRefProperties    `protobuf:"bytes,2,rep,name=ref_props,json=refProps,proto3" json:"ref_props,omitempty"`
	ClassName              string                    `protobuf:"bytes,3,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Metadata               *ResultAdditionalProps    `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	NumberArrayProperties  []*NumberArrayProperties  `` /* 126-byte string literal not displayed */
	IntArrayProperties     []*IntArrayProperties     `protobuf:"bytes,6,rep,name=int_array_properties,json=intArrayProperties,proto3" json:"int_array_properties,omitempty"`
	TextArrayProperties    []*TextArrayProperties    `protobuf:"bytes,7,rep,name=text_array_properties,json=textArrayProperties,proto3" json:"text_array_properties,omitempty"`
	BooleanArrayProperties []*BooleanArrayProperties `` /* 129-byte string literal not displayed */
	UuidArrayProperties    []*UuidArrayProperties    `protobuf:"bytes,9,rep,name=uuid_array_properties,json=uuidArrayProperties,proto3" json:"uuid_array_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultProperties) Descriptor deprecated added in v1.19.3

func (*ResultProperties) Descriptor() ([]byte, []int)

Deprecated: Use ResultProperties.ProtoReflect.Descriptor instead.

func (*ResultProperties) GetBooleanArrayProperties added in v1.21.2

func (x *ResultProperties) GetBooleanArrayProperties() []*BooleanArrayProperties

func (*ResultProperties) GetClassName added in v1.19.3

func (x *ResultProperties) GetClassName() string

func (*ResultProperties) GetIntArrayProperties added in v1.21.2

func (x *ResultProperties) GetIntArrayProperties() []*IntArrayProperties

func (*ResultProperties) GetMetadata added in v1.21.0

func (x *ResultProperties) GetMetadata() *ResultAdditionalProps

func (*ResultProperties) GetNonRefProperties added in v1.19.3

func (x *ResultProperties) GetNonRefProperties() *structpb.Struct

func (*ResultProperties) GetNumberArrayProperties added in v1.21.2

func (x *ResultProperties) GetNumberArrayProperties() []*NumberArrayProperties

func (*ResultProperties) GetRefProps added in v1.19.3

func (x *ResultProperties) GetRefProps() []*ReturnRefProperties

func (*ResultProperties) GetTextArrayProperties added in v1.21.2

func (x *ResultProperties) GetTextArrayProperties() []*TextArrayProperties

func (*ResultProperties) GetUuidArrayProperties added in v1.21.2

func (x *ResultProperties) GetUuidArrayProperties() []*UuidArrayProperties

func (*ResultProperties) ProtoMessage added in v1.19.3

func (*ResultProperties) ProtoMessage()

func (*ResultProperties) ProtoReflect added in v1.19.3

func (x *ResultProperties) ProtoReflect() protoreflect.Message

func (*ResultProperties) Reset added in v1.19.3

func (x *ResultProperties) Reset()

func (*ResultProperties) String added in v1.19.3

func (x *ResultProperties) String() string

type ReturnRefProperties added in v1.19.3

type ReturnRefProperties struct {
	Properties []*ResultProperties `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`
	PropName   string              `protobuf:"bytes,2,opt,name=prop_name,json=propName,proto3" json:"prop_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnRefProperties) Descriptor deprecated added in v1.19.3

func (*ReturnRefProperties) Descriptor() ([]byte, []int)

Deprecated: Use ReturnRefProperties.ProtoReflect.Descriptor instead.

func (*ReturnRefProperties) GetPropName added in v1.19.3

func (x *ReturnRefProperties) GetPropName() string

func (*ReturnRefProperties) GetProperties added in v1.19.3

func (x *ReturnRefProperties) GetProperties() []*ResultProperties

func (*ReturnRefProperties) ProtoMessage added in v1.19.3

func (*ReturnRefProperties) ProtoMessage()

func (*ReturnRefProperties) ProtoReflect added in v1.19.3

func (x *ReturnRefProperties) ProtoReflect() protoreflect.Message

func (*ReturnRefProperties) Reset added in v1.19.3

func (x *ReturnRefProperties) Reset()

func (*ReturnRefProperties) String added in v1.19.3

func (x *ReturnRefProperties) String() string

type SearchReply

type SearchReply struct {
	Results []*SearchResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Took    float32         `protobuf:"fixed32,2,opt,name=took,proto3" json:"took,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchReply) Descriptor deprecated

func (*SearchReply) Descriptor() ([]byte, []int)

Deprecated: Use SearchReply.ProtoReflect.Descriptor instead.

func (*SearchReply) GetResults

func (x *SearchReply) GetResults() []*SearchResult

func (*SearchReply) GetTook

func (x *SearchReply) GetTook() float32

func (*SearchReply) ProtoMessage

func (*SearchReply) ProtoMessage()

func (*SearchReply) ProtoReflect

func (x *SearchReply) ProtoReflect() protoreflect.Message

func (*SearchReply) Reset

func (x *SearchReply) Reset()

func (*SearchReply) String

func (x *SearchReply) String() string

type SearchRequest

type SearchRequest struct {
	ClassName            string                `protobuf:"bytes,1,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"`
	Limit                uint32                `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	AdditionalProperties *AdditionalProperties `protobuf:"bytes,3,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	NearVector           *NearVectorParams     `protobuf:"bytes,4,opt,name=near_vector,json=nearVector,proto3" json:"near_vector,omitempty"`
	NearObject           *NearObjectParams     `protobuf:"bytes,5,opt,name=near_object,json=nearObject,proto3" json:"near_object,omitempty"`
	Properties           *Properties           `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"`
	HybridSearch         *HybridSearchParams   `protobuf:"bytes,7,opt,name=hybrid_search,json=hybridSearch,proto3" json:"hybrid_search,omitempty"`
	Bm25Search           *BM25SearchParams     `protobuf:"bytes,8,opt,name=bm25_search,json=bm25Search,proto3" json:"bm25_search,omitempty"`
	Offset               uint32                `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
	Autocut              uint32                `protobuf:"varint,10,opt,name=autocut,proto3" json:"autocut,omitempty"`
	After                string                `protobuf:"bytes,11,opt,name=after,proto3" json:"after,omitempty"`
	Tenant               string                `protobuf:"bytes,12,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Filters              *Filters              `protobuf:"bytes,13,opt,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetAdditionalProperties

func (x *SearchRequest) GetAdditionalProperties() *AdditionalProperties

func (*SearchRequest) GetAfter added in v1.21.0

func (x *SearchRequest) GetAfter() string

func (*SearchRequest) GetAutocut added in v1.21.0

func (x *SearchRequest) GetAutocut() uint32

func (*SearchRequest) GetBm25Search added in v1.19.3

func (x *SearchRequest) GetBm25Search() *BM25SearchParams

func (*SearchRequest) GetClassName

func (x *SearchRequest) GetClassName() string

func (*SearchRequest) GetFilters added in v1.21.0

func (x *SearchRequest) GetFilters() *Filters

func (*SearchRequest) GetHybridSearch added in v1.19.3

func (x *SearchRequest) GetHybridSearch() *HybridSearchParams

func (*SearchRequest) GetLimit

func (x *SearchRequest) GetLimit() uint32

func (*SearchRequest) GetNearObject

func (x *SearchRequest) GetNearObject() *NearObjectParams

func (*SearchRequest) GetNearVector

func (x *SearchRequest) GetNearVector() *NearVectorParams

func (*SearchRequest) GetOffset added in v1.21.0

func (x *SearchRequest) GetOffset() uint32

func (*SearchRequest) GetProperties

func (x *SearchRequest) GetProperties() *Properties

func (*SearchRequest) GetTenant added in v1.21.0

func (x *SearchRequest) GetTenant() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResult

type SearchResult struct {
	Properties           *ResultProperties      `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	AdditionalProperties *ResultAdditionalProps `protobuf:"bytes,2,opt,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResult) Descriptor deprecated

func (*SearchResult) Descriptor() ([]byte, []int)

Deprecated: Use SearchResult.ProtoReflect.Descriptor instead.

func (*SearchResult) GetAdditionalProperties

func (x *SearchResult) GetAdditionalProperties() *ResultAdditionalProps

func (*SearchResult) GetProperties

func (x *SearchResult) GetProperties() *ResultProperties

func (*SearchResult) ProtoMessage

func (*SearchResult) ProtoMessage()

func (*SearchResult) ProtoReflect

func (x *SearchResult) ProtoReflect() protoreflect.Message

func (*SearchResult) Reset

func (x *SearchResult) Reset()

func (*SearchResult) String

func (x *SearchResult) String() string

type TextArray added in v1.21.2

type TextArray struct {
	Vals []string `protobuf:"bytes,1,rep,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*TextArray) Descriptor deprecated added in v1.21.2

func (*TextArray) Descriptor() ([]byte, []int)

Deprecated: Use TextArray.ProtoReflect.Descriptor instead.

func (*TextArray) GetVals added in v1.21.2

func (x *TextArray) GetVals() []string

func (*TextArray) ProtoMessage added in v1.21.2

func (*TextArray) ProtoMessage()

func (*TextArray) ProtoReflect added in v1.21.2

func (x *TextArray) ProtoReflect() protoreflect.Message

func (*TextArray) Reset added in v1.21.2

func (x *TextArray) Reset()

func (*TextArray) String added in v1.21.2

func (x *TextArray) String() string

type TextArrayProperties added in v1.21.2

type TextArrayProperties struct {
	Key  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []string `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*TextArrayProperties) Descriptor deprecated added in v1.21.2

func (*TextArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use TextArrayProperties.ProtoReflect.Descriptor instead.

func (*TextArrayProperties) GetKey added in v1.21.2

func (x *TextArrayProperties) GetKey() string

func (*TextArrayProperties) GetVals added in v1.21.2

func (x *TextArrayProperties) GetVals() []string

func (*TextArrayProperties) ProtoMessage added in v1.21.2

func (*TextArrayProperties) ProtoMessage()

func (*TextArrayProperties) ProtoReflect added in v1.21.2

func (x *TextArrayProperties) ProtoReflect() protoreflect.Message

func (*TextArrayProperties) Reset added in v1.21.2

func (x *TextArrayProperties) Reset()

func (*TextArrayProperties) String added in v1.21.2

func (x *TextArrayProperties) String() string

type UnimplementedWeaviateServer

type UnimplementedWeaviateServer struct{}

UnimplementedWeaviateServer must be embedded to have forward compatible implementations.

func (UnimplementedWeaviateServer) BatchObjects added in v1.21.0

func (UnimplementedWeaviateServer) Search

type UnsafeWeaviateServer

type UnsafeWeaviateServer interface {
	// contains filtered or unexported methods
}

UnsafeWeaviateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WeaviateServer will result in compilation errors.

type UuidArrayProperties added in v1.21.2

type UuidArrayProperties struct {
	Key  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Vals []string `protobuf:"bytes,2,rep,name=vals,proto3" json:"vals,omitempty"`
	// contains filtered or unexported fields
}

func (*UuidArrayProperties) Descriptor deprecated added in v1.21.2

func (*UuidArrayProperties) Descriptor() ([]byte, []int)

Deprecated: Use UuidArrayProperties.ProtoReflect.Descriptor instead.

func (*UuidArrayProperties) GetKey added in v1.21.2

func (x *UuidArrayProperties) GetKey() string

func (*UuidArrayProperties) GetVals added in v1.21.2

func (x *UuidArrayProperties) GetVals() []string

func (*UuidArrayProperties) ProtoMessage added in v1.21.2

func (*UuidArrayProperties) ProtoMessage()

func (*UuidArrayProperties) ProtoReflect added in v1.21.2

func (x *UuidArrayProperties) ProtoReflect() protoreflect.Message

func (*UuidArrayProperties) Reset added in v1.21.2

func (x *UuidArrayProperties) Reset()

func (*UuidArrayProperties) String added in v1.21.2

func (x *UuidArrayProperties) String() string

type WeaviateClient

type WeaviateClient interface {
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchReply, error)
	BatchObjects(ctx context.Context, in *BatchObjectsRequest, opts ...grpc.CallOption) (*BatchObjectsReply, error)
}

WeaviateClient is the client API for Weaviate service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewWeaviateClient

func NewWeaviateClient(cc grpc.ClientConnInterface) WeaviateClient

type WeaviateServer

type WeaviateServer interface {
	Search(context.Context, *SearchRequest) (*SearchReply, error)
	BatchObjects(context.Context, *BatchObjectsRequest) (*BatchObjectsReply, error)
	// contains filtered or unexported methods
}

WeaviateServer is the server API for Weaviate service. All implementations must embed UnimplementedWeaviateServer for forward compatibility

Jump to

Keyboard shortcuts

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