Documentation
¶
Index ¶
- Variables
- func RegisterWeaviateServer(s grpc.ServiceRegistrar, srv WeaviateServer)
- type AdditionalProperties
- func (*AdditionalProperties) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalProperties) GetCertainty() bool
- func (x *AdditionalProperties) GetCreationTimeUnix() bool
- func (x *AdditionalProperties) GetDistance() bool
- func (x *AdditionalProperties) GetExplainScore() bool
- func (x *AdditionalProperties) GetLastUpdateTimeUnix() bool
- func (x *AdditionalProperties) GetScore() bool
- func (x *AdditionalProperties) GetUuid() bool
- func (x *AdditionalProperties) GetVector() bool
- func (*AdditionalProperties) ProtoMessage()
- func (x *AdditionalProperties) ProtoReflect() protoreflect.Message
- func (x *AdditionalProperties) Reset()
- func (x *AdditionalProperties) String() string
- type BM25SearchParams
- func (*BM25SearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *BM25SearchParams) GetProperties() []string
- func (x *BM25SearchParams) GetQuery() string
- func (*BM25SearchParams) ProtoMessage()
- func (x *BM25SearchParams) ProtoReflect() protoreflect.Message
- func (x *BM25SearchParams) Reset()
- func (x *BM25SearchParams) String() string
- type HybridSearchParams
- func (*HybridSearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *HybridSearchParams) GetAlpha() float32
- func (x *HybridSearchParams) GetProperties() []string
- func (x *HybridSearchParams) GetQuery() string
- func (x *HybridSearchParams) GetVector() []float32
- func (*HybridSearchParams) ProtoMessage()
- func (x *HybridSearchParams) ProtoReflect() protoreflect.Message
- func (x *HybridSearchParams) Reset()
- func (x *HybridSearchParams) String() string
- type NearObjectParams
- func (*NearObjectParams) Descriptor() ([]byte, []int)deprecated
- func (x *NearObjectParams) GetCertainty() float64
- func (x *NearObjectParams) GetDistance() float64
- func (x *NearObjectParams) GetId() string
- func (*NearObjectParams) ProtoMessage()
- func (x *NearObjectParams) ProtoReflect() protoreflect.Message
- func (x *NearObjectParams) Reset()
- func (x *NearObjectParams) String() string
- type NearVectorParams
- func (*NearVectorParams) Descriptor() ([]byte, []int)deprecated
- func (x *NearVectorParams) GetCertainty() float64
- func (x *NearVectorParams) GetDistance() float64
- func (x *NearVectorParams) GetVector() []float32
- func (*NearVectorParams) ProtoMessage()
- func (x *NearVectorParams) ProtoReflect() protoreflect.Message
- func (x *NearVectorParams) Reset()
- func (x *NearVectorParams) String() string
- type Properties
- func (*Properties) Descriptor() ([]byte, []int)deprecated
- func (x *Properties) GetNonRefProperties() []string
- func (x *Properties) GetRefProperties() []*RefProperties
- func (*Properties) ProtoMessage()
- func (x *Properties) ProtoReflect() protoreflect.Message
- func (x *Properties) Reset()
- func (x *Properties) String() string
- type RefProperties
- func (*RefProperties) Descriptor() ([]byte, []int)deprecated
- func (x *RefProperties) GetLinkedClass() string
- func (x *RefProperties) GetLinkedProperties() *Properties
- func (x *RefProperties) GetReferenceProperty() string
- func (*RefProperties) ProtoMessage()
- func (x *RefProperties) ProtoReflect() protoreflect.Message
- func (x *RefProperties) Reset()
- func (x *RefProperties) String() string
- type ResultAdditionalProps
- func (*ResultAdditionalProps) Descriptor() ([]byte, []int)deprecated
- func (x *ResultAdditionalProps) GetCertainty() float32
- func (x *ResultAdditionalProps) GetCertaintyPresent() bool
- func (x *ResultAdditionalProps) GetCreationTimeUnix() int64
- func (x *ResultAdditionalProps) GetCreationTimeUnixPresent() bool
- func (x *ResultAdditionalProps) GetDistance() float32
- func (x *ResultAdditionalProps) GetDistancePresent() bool
- func (x *ResultAdditionalProps) GetExplainScore() string
- func (x *ResultAdditionalProps) GetExplainScorePresent() bool
- func (x *ResultAdditionalProps) GetId() string
- func (x *ResultAdditionalProps) GetLastUpdateTimeUnix() int64
- func (x *ResultAdditionalProps) GetLastUpdateTimeUnixPresent() bool
- func (x *ResultAdditionalProps) GetScore() float32
- func (x *ResultAdditionalProps) GetScorePresent() bool
- func (x *ResultAdditionalProps) GetVector() []float32
- func (*ResultAdditionalProps) ProtoMessage()
- func (x *ResultAdditionalProps) ProtoReflect() protoreflect.Message
- func (x *ResultAdditionalProps) Reset()
- func (x *ResultAdditionalProps) String() string
- type ResultProperties
- func (*ResultProperties) Descriptor() ([]byte, []int)deprecated
- func (x *ResultProperties) GetClassName() string
- func (x *ResultProperties) GetNonRefProperties() *structpb.Struct
- func (x *ResultProperties) GetRefProps() []*ReturnRefProperties
- func (*ResultProperties) ProtoMessage()
- func (x *ResultProperties) ProtoReflect() protoreflect.Message
- func (x *ResultProperties) Reset()
- func (x *ResultProperties) String() string
- type ReturnRefProperties
- func (*ReturnRefProperties) Descriptor() ([]byte, []int)deprecated
- func (x *ReturnRefProperties) GetPropName() string
- func (x *ReturnRefProperties) GetProperties() []*ResultProperties
- func (*ReturnRefProperties) ProtoMessage()
- func (x *ReturnRefProperties) ProtoReflect() protoreflect.Message
- func (x *ReturnRefProperties) Reset()
- func (x *ReturnRefProperties) String() string
- type SearchReply
- func (*SearchReply) Descriptor() ([]byte, []int)deprecated
- func (x *SearchReply) GetResults() []*SearchResult
- func (x *SearchReply) GetTook() float32
- func (*SearchReply) ProtoMessage()
- func (x *SearchReply) ProtoReflect() protoreflect.Message
- func (x *SearchReply) Reset()
- func (x *SearchReply) String() string
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetAdditionalProperties() *AdditionalProperties
- func (x *SearchRequest) GetBm25Search() *BM25SearchParams
- func (x *SearchRequest) GetClassName() string
- func (x *SearchRequest) GetHybridSearch() *HybridSearchParams
- func (x *SearchRequest) GetLimit() uint32
- func (x *SearchRequest) GetNearObject() *NearObjectParams
- func (x *SearchRequest) GetNearVector() *NearVectorParams
- func (x *SearchRequest) GetProperties() *Properties
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResult
- func (*SearchResult) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResult) GetAdditionalProperties() *ResultAdditionalProps
- func (x *SearchResult) GetProperties() *ResultProperties
- func (*SearchResult) ProtoMessage()
- func (x *SearchResult) ProtoReflect() protoreflect.Message
- func (x *SearchResult) Reset()
- func (x *SearchResult) String() string
- type UnimplementedWeaviateServer
- type UnsafeWeaviateServer
- type WeaviateClient
- type WeaviateServer
Constants ¶
This section is empty.
Variables ¶
var File_weaviate_proto protoreflect.FileDescriptor
var Weaviate_ServiceDesc = grpc.ServiceDesc{ ServiceName: "weaviategrpc.Weaviate", HandlerType: (*WeaviateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Search", Handler: _Weaviate_Search_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"` CreationTimeUnix bool `protobuf:"varint,3,opt,name=creationTimeUnix,proto3" json:"creationTimeUnix,omitempty"` 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"` 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 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"` // 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) 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 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 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 { LinkedClass string `protobuf:"bytes,1,opt,name=linked_class,json=linkedClass,proto3" json:"linked_class,omitempty"` 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"` // 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) GetLinkedClass ¶ added in v1.19.3
func (x *RefProperties) GetLinkedClass() string
func (*RefProperties) GetLinkedProperties ¶ added in v1.19.3
func (x *RefProperties) GetLinkedProperties() *Properties
func (*RefProperties) GetReferenceProperty ¶ added in v1.19.3
func (x *RefProperties) GetReferenceProperty() 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"` 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"` // 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) GetClassName ¶ added in v1.19.3
func (x *ResultProperties) GetClassName() string
func (*ResultProperties) GetNonRefProperties ¶ added in v1.19.3
func (x *ResultProperties) GetNonRefProperties() *structpb.Struct
func (*ResultProperties) GetRefProps ¶ added in v1.19.3
func (x *ResultProperties) GetRefProps() []*ReturnRefProperties
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"` // 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) GetBm25Search ¶ added in v1.19.3
func (x *SearchRequest) GetBm25Search() *BM25SearchParams
func (*SearchRequest) GetClassName ¶
func (x *SearchRequest) GetClassName() string
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) GetProperties ¶
func (x *SearchRequest) GetProperties() *Properties
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 UnimplementedWeaviateServer ¶
type UnimplementedWeaviateServer struct{}
UnimplementedWeaviateServer must be embedded to have forward compatible implementations.
func (UnimplementedWeaviateServer) Search ¶
func (UnimplementedWeaviateServer) Search(context.Context, *SearchRequest) (*SearchReply, error)
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 WeaviateClient ¶
type WeaviateClient interface {
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchReply, 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) // contains filtered or unexported methods }
WeaviateServer is the server API for Weaviate service. All implementations must embed UnimplementedWeaviateServer for forward compatibility