Versions in this module Expand all Collapse all v0 v0.2.0 Jan 10, 2022 v0.1.1 Nov 20, 2021 v0.1.0 Nov 8, 2021 Changes in this version + var File_goodmatch_proto protoreflect.FileDescriptor + var Goodmatch_ServiceDesc = grpc.ServiceDesc + func RegisterGoodmatchHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterGoodmatchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GoodmatchClient) error + func RegisterGoodmatchHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterGoodmatchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GoodmatchServer) error + func RegisterGoodmatchServer(s grpc.ServiceRegistrar, srv GoodmatchServer) + type ClassifyRequest struct + Namespace string + QueryForClassification *QueryForClassification + func (*ClassifyRequest) Descriptor() ([]byte, []int) + func (*ClassifyRequest) ProtoMessage() + func (x *ClassifyRequest) GetNamespace() string + func (x *ClassifyRequest) GetQueryForClassification() *QueryForClassification + func (x *ClassifyRequest) ProtoReflect() protoreflect.Message + func (x *ClassifyRequest) Reset() + func (x *ClassifyRequest) String() string + type ClassifyResponse struct + Data *SearchDocumentTagsData + Errors *ResponseErrors + func (*ClassifyResponse) Descriptor() ([]byte, []int) + func (*ClassifyResponse) ProtoMessage() + func (x *ClassifyResponse) GetData() *SearchDocumentTagsData + func (x *ClassifyResponse) GetErrors() *ResponseErrors + func (x *ClassifyResponse) ProtoReflect() protoreflect.Message + func (x *ClassifyResponse) Reset() + func (x *ClassifyResponse) String() string + type ConsolidateRequest struct + Namespace string + func (*ConsolidateRequest) Descriptor() ([]byte, []int) + func (*ConsolidateRequest) ProtoMessage() + func (x *ConsolidateRequest) GetNamespace() string + func (x *ConsolidateRequest) ProtoReflect() protoreflect.Message + func (x *ConsolidateRequest) Reset() + func (x *ConsolidateRequest) String() string + type ConsolidateResponse struct + Errors *ResponseErrors + func (*ConsolidateResponse) Descriptor() ([]byte, []int) + func (*ConsolidateResponse) ProtoMessage() + func (x *ConsolidateResponse) GetErrors() *ResponseErrors + func (x *ConsolidateResponse) ProtoReflect() protoreflect.Message + func (x *ConsolidateResponse) Reset() + func (x *ConsolidateResponse) String() string + type CreateNamespaceRequest struct + Namespace string + func (*CreateNamespaceRequest) Descriptor() ([]byte, []int) + func (*CreateNamespaceRequest) ProtoMessage() + func (x *CreateNamespaceRequest) GetNamespace() string + func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message + func (x *CreateNamespaceRequest) Reset() + func (x *CreateNamespaceRequest) String() string + type CreateNamespaceResponse struct + Errors *ResponseErrors + func (*CreateNamespaceResponse) Descriptor() ([]byte, []int) + func (*CreateNamespaceResponse) ProtoMessage() + func (x *CreateNamespaceResponse) GetErrors() *ResponseErrors + func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message + func (x *CreateNamespaceResponse) Reset() + func (x *CreateNamespaceResponse) String() string + type DeleteDocumentRequest struct + DocumentId string + Namespace string + func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) + func (*DeleteDocumentRequest) ProtoMessage() + func (x *DeleteDocumentRequest) GetDocumentId() string + func (x *DeleteDocumentRequest) GetNamespace() string + func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message + func (x *DeleteDocumentRequest) Reset() + func (x *DeleteDocumentRequest) String() string + type DeleteDocumentResponse struct + Errors *ResponseErrors + func (*DeleteDocumentResponse) Descriptor() ([]byte, []int) + func (*DeleteDocumentResponse) ProtoMessage() + func (x *DeleteDocumentResponse) GetErrors() *ResponseErrors + func (x *DeleteDocumentResponse) ProtoReflect() protoreflect.Message + func (x *DeleteDocumentResponse) Reset() + func (x *DeleteDocumentResponse) String() string + type DeleteNamespaceRequest struct + Namespace string + func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int) + func (*DeleteNamespaceRequest) ProtoMessage() + func (x *DeleteNamespaceRequest) GetNamespace() string + func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message + func (x *DeleteNamespaceRequest) Reset() + func (x *DeleteNamespaceRequest) String() string + type DeleteNamespaceResponse struct + Errors *ResponseErrors + func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int) + func (*DeleteNamespaceResponse) ProtoMessage() + func (x *DeleteNamespaceResponse) GetErrors() *ResponseErrors + func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message + func (x *DeleteNamespaceResponse) Reset() + func (x *DeleteNamespaceResponse) String() string + type Document struct + Body string + Tags []string + Title string + func (*Document) Descriptor() ([]byte, []int) + func (*Document) ProtoMessage() + func (x *Document) GetBody() string + func (x *Document) GetTags() []string + func (x *Document) GetTitle() string + func (x *Document) ProtoReflect() protoreflect.Message + func (x *Document) Reset() + func (x *Document) String() string + type DocumentDraft struct + Body string + Tags []string + Title string + func (*DocumentDraft) Descriptor() ([]byte, []int) + func (*DocumentDraft) ProtoMessage() + func (x *DocumentDraft) GetBody() string + func (x *DocumentDraft) GetTags() []string + func (x *DocumentDraft) GetTitle() string + func (x *DocumentDraft) ProtoReflect() protoreflect.Message + func (x *DocumentDraft) Reset() + func (x *DocumentDraft) String() string + type GetDocumentData struct + Document *Document + Id string + func (*GetDocumentData) Descriptor() ([]byte, []int) + func (*GetDocumentData) ProtoMessage() + func (x *GetDocumentData) GetDocument() *Document + func (x *GetDocumentData) GetId() string + func (x *GetDocumentData) ProtoReflect() protoreflect.Message + func (x *GetDocumentData) Reset() + func (x *GetDocumentData) String() string + type GetDocumentRequest struct + DocumentId string + Namespace string + func (*GetDocumentRequest) Descriptor() ([]byte, []int) + func (*GetDocumentRequest) ProtoMessage() + func (x *GetDocumentRequest) GetDocumentId() string + func (x *GetDocumentRequest) GetNamespace() string + func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message + func (x *GetDocumentRequest) Reset() + func (x *GetDocumentRequest) String() string + type GetDocumentResponse struct + Data *GetDocumentData + Errors *ResponseErrors + func (*GetDocumentResponse) Descriptor() ([]byte, []int) + func (*GetDocumentResponse) ProtoMessage() + func (x *GetDocumentResponse) GetData() *GetDocumentData + func (x *GetDocumentResponse) GetErrors() *ResponseErrors + func (x *GetDocumentResponse) ProtoReflect() protoreflect.Message + func (x *GetDocumentResponse) Reset() + func (x *GetDocumentResponse) String() string + type GetDocumentsData struct + Documents []*GetDocumentsItem + func (*GetDocumentsData) Descriptor() ([]byte, []int) + func (*GetDocumentsData) ProtoMessage() + func (x *GetDocumentsData) GetDocuments() []*GetDocumentsItem + func (x *GetDocumentsData) ProtoReflect() protoreflect.Message + func (x *GetDocumentsData) Reset() + func (x *GetDocumentsData) String() string + type GetDocumentsItem struct + Document *Document + Id string + func (*GetDocumentsItem) Descriptor() ([]byte, []int) + func (*GetDocumentsItem) ProtoMessage() + func (x *GetDocumentsItem) GetDocument() *Document + func (x *GetDocumentsItem) GetId() string + func (x *GetDocumentsItem) ProtoReflect() protoreflect.Message + func (x *GetDocumentsItem) Reset() + func (x *GetDocumentsItem) String() string + type GetDocumentsRequest struct + After string + First int64 + Namespace string + func (*GetDocumentsRequest) Descriptor() ([]byte, []int) + func (*GetDocumentsRequest) ProtoMessage() + func (x *GetDocumentsRequest) GetAfter() string + func (x *GetDocumentsRequest) GetFirst() int64 + func (x *GetDocumentsRequest) GetNamespace() string + func (x *GetDocumentsRequest) ProtoReflect() protoreflect.Message + func (x *GetDocumentsRequest) Reset() + func (x *GetDocumentsRequest) String() string + type GetDocumentsResponse struct + Data *GetDocumentsData + Errors *ResponseErrors + func (*GetDocumentsResponse) Descriptor() ([]byte, []int) + func (*GetDocumentsResponse) ProtoMessage() + func (x *GetDocumentsResponse) GetData() *GetDocumentsData + func (x *GetDocumentsResponse) GetErrors() *ResponseErrors + func (x *GetDocumentsResponse) ProtoReflect() protoreflect.Message + func (x *GetDocumentsResponse) Reset() + func (x *GetDocumentsResponse) String() string + type GetNamespacesData struct + Namespaces []string + func (*GetNamespacesData) Descriptor() ([]byte, []int) + func (*GetNamespacesData) ProtoMessage() + func (x *GetNamespacesData) GetNamespaces() []string + func (x *GetNamespacesData) ProtoReflect() protoreflect.Message + func (x *GetNamespacesData) Reset() + func (x *GetNamespacesData) String() string + type GetNamespacesResponse struct + Data *GetNamespacesData + Errors *ResponseErrors + func (*GetNamespacesResponse) Descriptor() ([]byte, []int) + func (*GetNamespacesResponse) ProtoMessage() + func (x *GetNamespacesResponse) GetData() *GetNamespacesData + func (x *GetNamespacesResponse) GetErrors() *ResponseErrors + func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message + func (x *GetNamespacesResponse) Reset() + func (x *GetNamespacesResponse) String() string + type GoodmatchClient interface + Classify func(ctx context.Context, in *ClassifyRequest, opts ...grpc.CallOption) (*ClassifyResponse, error) + Consolidate func(ctx context.Context, in *ConsolidateRequest, opts ...grpc.CallOption) (*ConsolidateResponse, error) + CreateNamespace func(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) + DeleteDocument func(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*DeleteDocumentResponse, error) + DeleteNamespace func(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) + GetDocument func(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*GetDocumentResponse, error) + GetDocuments func(ctx context.Context, in *GetDocumentsRequest, opts ...grpc.CallOption) (*GetDocumentsResponse, error) + GetNamespaces func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetNamespacesResponse, error) + InsertDocuments func(ctx context.Context, in *InsertDocumentsRequest, opts ...grpc.CallOption) (*InsertDocumentsResponse, error) + SearchDocuments func(ctx context.Context, in *SearchDocumentsRequest, opts ...grpc.CallOption) (*SearchDocumentsResponse, error) + func NewGoodmatchClient(cc grpc.ClientConnInterface) GoodmatchClient + type GoodmatchServer interface + Classify func(context.Context, *ClassifyRequest) (*ClassifyResponse, error) + Consolidate func(context.Context, *ConsolidateRequest) (*ConsolidateResponse, error) + CreateNamespace func(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) + DeleteDocument func(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error) + DeleteNamespace func(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) + GetDocument func(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error) + GetDocuments func(context.Context, *GetDocumentsRequest) (*GetDocumentsResponse, error) + GetNamespaces func(context.Context, *emptypb.Empty) (*GetNamespacesResponse, error) + InsertDocuments func(context.Context, *InsertDocumentsRequest) (*InsertDocumentsResponse, error) + SearchDocuments func(context.Context, *SearchDocumentsRequest) (*SearchDocumentsResponse, error) + type Highlights struct + Value []*Range + func (*Highlights) Descriptor() ([]byte, []int) + func (*Highlights) ProtoMessage() + func (x *Highlights) GetValue() []*Range + func (x *Highlights) ProtoReflect() protoreflect.Message + func (x *Highlights) Reset() + func (x *Highlights) String() string + type InsertDocumentsData struct + DocumentIds []string + func (*InsertDocumentsData) Descriptor() ([]byte, []int) + func (*InsertDocumentsData) ProtoMessage() + func (x *InsertDocumentsData) GetDocumentIds() []string + func (x *InsertDocumentsData) ProtoReflect() protoreflect.Message + func (x *InsertDocumentsData) Reset() + func (x *InsertDocumentsData) String() string + type InsertDocumentsRequest struct + Namespace string + NewDocuments *NewDocuments + func (*InsertDocumentsRequest) Descriptor() ([]byte, []int) + func (*InsertDocumentsRequest) ProtoMessage() + func (x *InsertDocumentsRequest) GetNamespace() string + func (x *InsertDocumentsRequest) GetNewDocuments() *NewDocuments + func (x *InsertDocumentsRequest) ProtoReflect() protoreflect.Message + func (x *InsertDocumentsRequest) Reset() + func (x *InsertDocumentsRequest) String() string + type InsertDocumentsResponse struct + Data *InsertDocumentsData + Errors *ResponseErrors + func (*InsertDocumentsResponse) Descriptor() ([]byte, []int) + func (*InsertDocumentsResponse) ProtoMessage() + func (x *InsertDocumentsResponse) GetData() *InsertDocumentsData + func (x *InsertDocumentsResponse) GetErrors() *ResponseErrors + func (x *InsertDocumentsResponse) ProtoReflect() protoreflect.Message + func (x *InsertDocumentsResponse) Reset() + func (x *InsertDocumentsResponse) String() string + type NewDocuments struct + Value []*DocumentDraft + func (*NewDocuments) Descriptor() ([]byte, []int) + func (*NewDocuments) ProtoMessage() + func (x *NewDocuments) GetValue() []*DocumentDraft + func (x *NewDocuments) ProtoReflect() protoreflect.Message + func (x *NewDocuments) Reset() + func (x *NewDocuments) String() string + type Query struct + Offset int64 + Size int64 + Text string + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (x *Query) GetOffset() int64 + func (x *Query) GetSize() int64 + func (x *Query) GetText() string + func (x *Query) ProtoReflect() protoreflect.Message + func (x *Query) Reset() + func (x *Query) String() string + type QueryForClassification struct + K int64 + Text string + func (*QueryForClassification) Descriptor() ([]byte, []int) + func (*QueryForClassification) ProtoMessage() + func (x *QueryForClassification) GetK() int64 + func (x *QueryForClassification) GetText() string + func (x *QueryForClassification) ProtoReflect() protoreflect.Message + func (x *QueryForClassification) Reset() + func (x *QueryForClassification) String() string + type Range struct + End int32 + RelevanceScore float32 + Start int32 + Text string + func (*Range) Descriptor() ([]byte, []int) + func (*Range) ProtoMessage() + func (x *Range) GetEnd() int32 + func (x *Range) GetRelevanceScore() float32 + func (x *Range) GetStart() int32 + func (x *Range) GetText() string + func (x *Range) ProtoReflect() protoreflect.Message + func (x *Range) Reset() + func (x *Range) String() string + type ResponseError struct + Message string + func (*ResponseError) Descriptor() ([]byte, []int) + func (*ResponseError) ProtoMessage() + func (x *ResponseError) GetMessage() string + func (x *ResponseError) ProtoReflect() protoreflect.Message + func (x *ResponseError) Reset() + func (x *ResponseError) String() string + type ResponseErrors struct + Value []*ResponseError + func (*ResponseErrors) Descriptor() ([]byte, []int) + func (*ResponseErrors) ProtoMessage() + func (x *ResponseErrors) GetValue() []*ResponseError + func (x *ResponseErrors) ProtoReflect() protoreflect.Message + func (x *ResponseErrors) Reset() + func (x *ResponseErrors) String() string + type SearchDocumentTagsData struct + Hits []*SearchDocumentTagsHit + func (*SearchDocumentTagsData) Descriptor() ([]byte, []int) + func (*SearchDocumentTagsData) ProtoMessage() + func (x *SearchDocumentTagsData) GetHits() []*SearchDocumentTagsHit + func (x *SearchDocumentTagsData) ProtoReflect() protoreflect.Message + func (x *SearchDocumentTagsData) Reset() + func (x *SearchDocumentTagsData) String() string + type SearchDocumentTagsHit struct + Score float32 + Tag string + func (*SearchDocumentTagsHit) Descriptor() ([]byte, []int) + func (*SearchDocumentTagsHit) ProtoMessage() + func (x *SearchDocumentTagsHit) GetScore() float32 + func (x *SearchDocumentTagsHit) GetTag() string + func (x *SearchDocumentTagsHit) ProtoReflect() protoreflect.Message + func (x *SearchDocumentTagsHit) Reset() + func (x *SearchDocumentTagsHit) String() string + type SearchDocumentsData struct + Hits []*SearchDocumentsHit + func (*SearchDocumentsData) Descriptor() ([]byte, []int) + func (*SearchDocumentsData) ProtoMessage() + func (x *SearchDocumentsData) GetHits() []*SearchDocumentsHit + func (x *SearchDocumentsData) ProtoReflect() protoreflect.Message + func (x *SearchDocumentsData) Reset() + func (x *SearchDocumentsData) String() string + type SearchDocumentsHit struct + BodyHighlights *Highlights + Document *Document + Id string + Score float32 + TitleHighlights *Highlights + func (*SearchDocumentsHit) Descriptor() ([]byte, []int) + func (*SearchDocumentsHit) ProtoMessage() + func (x *SearchDocumentsHit) GetBodyHighlights() *Highlights + func (x *SearchDocumentsHit) GetDocument() *Document + func (x *SearchDocumentsHit) GetId() string + func (x *SearchDocumentsHit) GetScore() float32 + func (x *SearchDocumentsHit) GetTitleHighlights() *Highlights + func (x *SearchDocumentsHit) ProtoReflect() protoreflect.Message + func (x *SearchDocumentsHit) Reset() + func (x *SearchDocumentsHit) String() string + type SearchDocumentsRequest struct + Namespace string + Query *Query + func (*SearchDocumentsRequest) Descriptor() ([]byte, []int) + func (*SearchDocumentsRequest) ProtoMessage() + func (x *SearchDocumentsRequest) GetNamespace() string + func (x *SearchDocumentsRequest) GetQuery() *Query + func (x *SearchDocumentsRequest) ProtoReflect() protoreflect.Message + func (x *SearchDocumentsRequest) Reset() + func (x *SearchDocumentsRequest) String() string + type SearchDocumentsResponse struct + Data *SearchDocumentsData + Errors *ResponseErrors + func (*SearchDocumentsResponse) Descriptor() ([]byte, []int) + func (*SearchDocumentsResponse) ProtoMessage() + func (x *SearchDocumentsResponse) GetData() *SearchDocumentsData + func (x *SearchDocumentsResponse) GetErrors() *ResponseErrors + func (x *SearchDocumentsResponse) ProtoReflect() protoreflect.Message + func (x *SearchDocumentsResponse) Reset() + func (x *SearchDocumentsResponse) String() string + type UnimplementedGoodmatchServer struct + func (UnimplementedGoodmatchServer) Classify(context.Context, *ClassifyRequest) (*ClassifyResponse, error) + func (UnimplementedGoodmatchServer) Consolidate(context.Context, *ConsolidateRequest) (*ConsolidateResponse, error) + func (UnimplementedGoodmatchServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) + func (UnimplementedGoodmatchServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*DeleteDocumentResponse, error) + func (UnimplementedGoodmatchServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) + func (UnimplementedGoodmatchServer) GetDocument(context.Context, *GetDocumentRequest) (*GetDocumentResponse, error) + func (UnimplementedGoodmatchServer) GetDocuments(context.Context, *GetDocumentsRequest) (*GetDocumentsResponse, error) + func (UnimplementedGoodmatchServer) GetNamespaces(context.Context, *emptypb.Empty) (*GetNamespacesResponse, error) + func (UnimplementedGoodmatchServer) InsertDocuments(context.Context, *InsertDocumentsRequest) (*InsertDocumentsResponse, error) + func (UnimplementedGoodmatchServer) SearchDocuments(context.Context, *SearchDocumentsRequest) (*SearchDocumentsResponse, error) + type UnsafeGoodmatchServer interface