diff --git a/go-api/federpb/feder.pb.go b/go-api/federpb/feder.pb.go index 8a6209c..0cff4df 100644 --- a/go-api/federpb/feder.pb.go +++ b/go-api/federpb/feder.pb.go @@ -7,6 +7,7 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" commonpb "github.com/milvus-io/milvus-proto/go-api/commonpb" + schemapb "github.com/milvus-io/milvus-proto/go-api/schemapb" math "math" ) @@ -22,11 +23,12 @@ var _ = math.Inf const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type SegmentIndexData struct { - SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - IndexData string `protobuf:"bytes,2,opt,name=index_data,json=indexData,proto3" json:"index_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + IndexData string `protobuf:"bytes,2,opt,name=index_data,json=indexData,proto3" json:"index_data,omitempty"` + IdsSet *schemapb.IDs `protobuf:"bytes,3,opt,name=ids_set,json=idsSet,proto3" json:"ids_set,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SegmentIndexData) Reset() { *m = SegmentIndexData{} } @@ -68,51 +70,11 @@ func (m *SegmentIndexData) GetIndexData() string { return "" } -type FederSegmentSearchResult struct { - SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` - VisitInfo string `protobuf:"bytes,2,opt,name=visit_info,json=visitInfo,proto3" json:"visit_info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FederSegmentSearchResult) Reset() { *m = FederSegmentSearchResult{} } -func (m *FederSegmentSearchResult) String() string { return proto.CompactTextString(m) } -func (*FederSegmentSearchResult) ProtoMessage() {} -func (*FederSegmentSearchResult) Descriptor() ([]byte, []int) { - return fileDescriptor_84d670fd126c7825, []int{1} -} - -func (m *FederSegmentSearchResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FederSegmentSearchResult.Unmarshal(m, b) -} -func (m *FederSegmentSearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FederSegmentSearchResult.Marshal(b, m, deterministic) -} -func (m *FederSegmentSearchResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_FederSegmentSearchResult.Merge(m, src) -} -func (m *FederSegmentSearchResult) XXX_Size() int { - return xxx_messageInfo_FederSegmentSearchResult.Size(m) -} -func (m *FederSegmentSearchResult) XXX_DiscardUnknown() { - xxx_messageInfo_FederSegmentSearchResult.DiscardUnknown(m) -} - -var xxx_messageInfo_FederSegmentSearchResult proto.InternalMessageInfo - -func (m *FederSegmentSearchResult) GetSegmentID() int64 { +func (m *SegmentIndexData) GetIdsSet() *schemapb.IDs { if m != nil { - return m.SegmentID + return m.IdsSet } - return 0 -} - -func (m *FederSegmentSearchResult) GetVisitInfo() string { - if m != nil { - return m.VisitInfo - } - return "" + return nil } type ListIndexedSegmentRequest struct { @@ -128,7 +90,7 @@ func (m *ListIndexedSegmentRequest) Reset() { *m = ListIndexedSegmentReq func (m *ListIndexedSegmentRequest) String() string { return proto.CompactTextString(m) } func (*ListIndexedSegmentRequest) ProtoMessage() {} func (*ListIndexedSegmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84d670fd126c7825, []int{2} + return fileDescriptor_84d670fd126c7825, []int{1} } func (m *ListIndexedSegmentRequest) XXX_Unmarshal(b []byte) error { @@ -182,7 +144,7 @@ func (m *ListIndexedSegmentResponse) Reset() { *m = ListIndexedSegmentRe func (m *ListIndexedSegmentResponse) String() string { return proto.CompactTextString(m) } func (*ListIndexedSegmentResponse) ProtoMessage() {} func (*ListIndexedSegmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84d670fd126c7825, []int{3} + return fileDescriptor_84d670fd126c7825, []int{2} } func (m *ListIndexedSegmentResponse) XXX_Unmarshal(b []byte) error { @@ -231,7 +193,7 @@ func (m *DescribeSegmentIndexDataRequest) Reset() { *m = DescribeSegment func (m *DescribeSegmentIndexDataRequest) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentIndexDataRequest) ProtoMessage() {} func (*DescribeSegmentIndexDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84d670fd126c7825, []int{4} + return fileDescriptor_84d670fd126c7825, []int{3} } func (m *DescribeSegmentIndexDataRequest) XXX_Unmarshal(b []byte) error { @@ -294,7 +256,7 @@ func (m *DescribeSegmentIndexDataResponse) Reset() { *m = DescribeSegmen func (m *DescribeSegmentIndexDataResponse) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentIndexDataResponse) ProtoMessage() {} func (*DescribeSegmentIndexDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84d670fd126c7825, []int{5} + return fileDescriptor_84d670fd126c7825, []int{4} } func (m *DescribeSegmentIndexDataResponse) XXX_Unmarshal(b []byte) error { @@ -338,7 +300,6 @@ func (m *DescribeSegmentIndexDataResponse) GetIndexParams() []*commonpb.KeyValue func init() { proto.RegisterType((*SegmentIndexData)(nil), "milvus.proto.feder.SegmentIndexData") - proto.RegisterType((*FederSegmentSearchResult)(nil), "milvus.proto.feder.FederSegmentSearchResult") proto.RegisterType((*ListIndexedSegmentRequest)(nil), "milvus.proto.feder.ListIndexedSegmentRequest") proto.RegisterType((*ListIndexedSegmentResponse)(nil), "milvus.proto.feder.ListIndexedSegmentResponse") proto.RegisterType((*DescribeSegmentIndexDataRequest)(nil), "milvus.proto.feder.DescribeSegmentIndexDataRequest") @@ -349,34 +310,34 @@ func init() { func init() { proto.RegisterFile("feder.proto", fileDescriptor_84d670fd126c7825) } var fileDescriptor_84d670fd126c7825 = []byte{ - // 457 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 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0x84, 0xac, 0x78, 0x60, 0x69, 0x17, 0x96, 0xd5, 0x4b, 0x61, 0xff, 0xa6, 0x05, 0x3b, 0x00, 0xff, - 0x07, 0x2e, 0xdd, 0xbb, 0x68, 0x3e, 0xd9, 0x29, 0x3c, 0x5a, 0x34, 0x6c, 0x7b, 0x0e, 0xc1, 0xf0, - 0xd5, 0xb6, 0x22, 0x77, 0x0a, 0xb4, 0x94, 0xd3, 0xce, 0x1b, 0xef, 0x6c, 0xf8, 0xfd, 0x78, 0x2e, - 0xcd, 0x65, 0x9d, 0x36, 0x71, 0x06, 0x2d, 0xf9, 0x48, 0xea, 0xd5, 0x97, 0x95, 0x19, 0xcc, 0xf5, - 0x91, 0x28, 0xe5, 0xc0, 0xaa, 0x95, 0x69, 0xba, 0x6b, 0xd1, 0x93, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x40, 0x49, 0x4e, 0x8e, 0x48, 0x04, 0x00, 0x00, + // 460 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x93, 0xcd, 0x6e, 0xd3, 0x40, + 0x10, 0xc7, 0xe5, 0xb8, 0x04, 0x65, 0x1c, 0x95, 0x6a, 0x4f, 0x26, 0x14, 0x30, 0x16, 0x12, 0xbe, + 0xd4, 0x29, 0xee, 0x05, 0xf5, 0x58, 0xcc, 0xa1, 0xe2, 0x43, 0x95, 0x23, 0x71, 0xe0, 0x12, 0xad, + 0xed, 0x21, 0x5d, 0x11, 0x7b, 0x5d, 0xcf, 0xba, 0x22, 0x57, 0xde, 0x81, 0xc7, 0xe1, 0x71, 0x78, + 0x0f, 0xe4, 0xf5, 0x92, 0x8f, 0xc6, 0x88, 0x03, 0x07, 0x6e, 0xde, 0xff, 0xce, 0x7f, 0xe6, 0x37, + 0xb3, 0x63, 0x70, 0x3e, 0x63, 0x8e, 0x75, 0x58, 0xd5, 0x52, 0x49, 0xc6, 0x0a, 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 0x00, } diff --git a/go-api/schemapb/schema.pb.go b/go-api/schemapb/schema.pb.go index 8020dfe..fd26e1c 100644 --- a/go-api/schemapb/schema.pb.go +++ b/go-api/schemapb/schema.pb.go @@ -664,7 +664,6 @@ func (m *JSONArray) GetData() [][]byte { type ValueField struct { // Types that are valid to be assigned to Data: - // // *ValueField_BoolData // *ValueField_IntData // *ValueField_LongData @@ -1276,15 +1275,16 @@ func (*IDs) XXX_OneofWrappers() []interface{} { } type SearchResultData struct { - NumQueries int64 `protobuf:"varint,1,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` - TopK int64 `protobuf:"varint,2,opt,name=top_k,json=topK,proto3" json:"top_k,omitempty"` - FieldsData []*FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` - Scores []float32 `protobuf:"fixed32,4,rep,packed,name=scores,proto3" json:"scores,omitempty"` - Ids *IDs `protobuf:"bytes,5,opt,name=ids,proto3" json:"ids,omitempty"` - Topks []int64 `protobuf:"varint,6,rep,packed,name=topks,proto3" json:"topks,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NumQueries int64 `protobuf:"varint,1,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` + TopK int64 `protobuf:"varint,2,opt,name=top_k,json=topK,proto3" json:"top_k,omitempty"` + FieldsData []*FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` + Scores []float32 `protobuf:"fixed32,4,rep,packed,name=scores,proto3" json:"scores,omitempty"` + Ids *IDs `protobuf:"bytes,5,opt,name=ids,proto3" json:"ids,omitempty"` + Topks []int64 `protobuf:"varint,6,rep,packed,name=topks,proto3" json:"topks,omitempty"` + VisitorViews map[int64]*FederSegmentSearchResult `protobuf:"bytes,7,rep,name=visitor_views,json=visitorViews,proto3" json:"visitor_views,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SearchResultData) Reset() { *m = SearchResultData{} } @@ -1354,6 +1354,68 @@ func (m *SearchResultData) GetTopks() []int64 { return nil } +func (m *SearchResultData) GetVisitorViews() map[int64]*FederSegmentSearchResult { + if m != nil { + return m.VisitorViews + } + return nil +} + +type FederSegmentSearchResult struct { + SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` + VisitInfo string `protobuf:"bytes,2,opt,name=visit_info,json=visitInfo,proto3" json:"visit_info,omitempty"` + VisitIds *IDs `protobuf:"bytes,3,opt,name=visit_ids,json=visitIds,proto3" json:"visit_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FederSegmentSearchResult) Reset() { *m = FederSegmentSearchResult{} } +func (m *FederSegmentSearchResult) String() string { return proto.CompactTextString(m) } +func (*FederSegmentSearchResult) ProtoMessage() {} +func (*FederSegmentSearchResult) Descriptor() ([]byte, []int) { + return fileDescriptor_1c5fb4d8cc22d66a, []int{17} +} + +func (m *FederSegmentSearchResult) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FederSegmentSearchResult.Unmarshal(m, b) +} +func (m *FederSegmentSearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FederSegmentSearchResult.Marshal(b, m, deterministic) +} +func (m *FederSegmentSearchResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_FederSegmentSearchResult.Merge(m, src) +} +func (m *FederSegmentSearchResult) XXX_Size() int { + return xxx_messageInfo_FederSegmentSearchResult.Size(m) +} +func (m *FederSegmentSearchResult) XXX_DiscardUnknown() { + xxx_messageInfo_FederSegmentSearchResult.DiscardUnknown(m) +} + +var xxx_messageInfo_FederSegmentSearchResult proto.InternalMessageInfo + +func (m *FederSegmentSearchResult) GetSegmentID() int64 { + if m != nil { + return m.SegmentID + } + return 0 +} + +func (m *FederSegmentSearchResult) GetVisitInfo() string { + if m != nil { + return m.VisitInfo + } + return "" +} + +func (m *FederSegmentSearchResult) GetVisitIds() *IDs { + if m != nil { + return m.VisitIds + } + return nil +} + func init() { proto.RegisterEnum("milvus.proto.schema.DataType", DataType_name, DataType_value) proto.RegisterEnum("milvus.proto.schema.FieldState", FieldState_name, FieldState_value) @@ -1374,88 +1436,98 @@ func init() { proto.RegisterType((*FieldData)(nil), "milvus.proto.schema.FieldData") proto.RegisterType((*IDs)(nil), "milvus.proto.schema.IDs") proto.RegisterType((*SearchResultData)(nil), "milvus.proto.schema.SearchResultData") + proto.RegisterMapType((map[int64]*FederSegmentSearchResult)(nil), "milvus.proto.schema.SearchResultData.VisitorViewsEntry") + proto.RegisterType((*FederSegmentSearchResult)(nil), "milvus.proto.schema.FederSegmentSearchResult") } func init() { proto.RegisterFile("schema.proto", fileDescriptor_1c5fb4d8cc22d66a) } var fileDescriptor_1c5fb4d8cc22d66a = []byte{ - // 1240 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0x78, 0xfd, 0x67, 0xf7, 0xad, 0x1b, 0x96, 0x69, 0x29, 0x0b, 0x28, 0x8d, 0x6b, 0x81, - 0x64, 0x55, 0x6a, 0xaa, 0xa6, 0xa5, 0x94, 0x8a, 0x8a, 0xe2, 0x58, 0x25, 0xa6, 0xd0, 0x86, 0x0d, - 0xca, 0x81, 0x8b, 0x35, 0xf6, 0x4e, 0x92, 0xa1, 0xeb, 0x9d, 0x65, 0x77, 0x1c, 0xe1, 0x3b, 0x7c, - 0x03, 0x4e, 0x9c, 0x7a, 0xe6, 0xc6, 0x17, 0xe2, 0xc2, 0x87, 0xe0,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0xcf, - 0x06, 0x6d, 0xdf, 0xbc, 0x90, 0x8e, 0x90, 0xd0, 0x23, 0xf2, 0xfd, 0xfd, 0x33, 0xa1, 0xce, 0x47, - 0x7d, 0x7c, 0xbd, 0xde, 0x33, 0xb0, 0xbb, 0x42, 0x4e, 0x2c, 0xcd, 0xfa, 0xbd, 0x33, 0x79, 0x97, - 0x65, 0xe2, 0x9e, 0x21, 0x3f, 0xeb, 0xbf, 0x21, 0xe4, 0xf7, 0xd2, 0x76, 0xf7, 0xd5, 0xde, 0x37, - 0x26, 0xeb, 0x97, 0x79, 0x36, 0xe8, 0x57, 0x35, 0xf4, 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x01, 0xc8, 0x9d, 0x16, 0x61, 0x0c, 0x00, 0x00, + // 1366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xcf, 0x73, 0xdb, 0xc4, + 0x17, 0xcf, 0x5a, 0xb6, 0x23, 0x3d, 0x39, 0xf9, 0xaa, 0xdb, 0x7e, 0x8b, 0x28, 0xa4, 0x71, 0x3d, + 0x30, 0xe3, 0xe9, 0x4c, 0xd3, 0x69, 0xfa, 0x93, 0x0e, 0x1d, 0x8a, 0x63, 0x4a, 0x4c, 0xa1, 0x0d, + 0x0a, 0x93, 0x03, 0xc3, 0x8c, 0x47, 0xb6, 0x36, 0xc9, 0x12, 0x59, 0x2b, 0xa4, 0x75, 0xc0, 0x77, + 0xb8, 0x72, 0xe2, 0xc4, 0xa9, 0x67, 0x6e, 0xfd, 0x87, 0xf8, 0x37, 0x38, 0x31, 0xc3, 0xbc, 0xdd, + 0x95, 0x7f, 0x3b, 0x84, 0xdb, 0xdb, 0xb7, 0x9f, 0xf7, 0xf4, 0xf6, 0xf3, 0x7e, 0xec, 0x0a, 0x6a, + 0x79, 0xff, 0x94, 0x0d, 0xc2, 0x9d, 0x34, 0x13, 0x52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+ 0xf5, 0x9c, 0xf7, 0x5c, 0x94, 0x75, 0x2d, 0x7b, 0xd7, 0xa8, 0x0b, 0xeb, 0x47, 0x61, 0xb6, 0x77, + 0x1a, 0x66, 0xde, 0xff, 0x11, 0xaf, 0xca, 0xdb, 0xbb, 0x8e, 0x5f, 0xc1, 0x59, 0xe8, 0xbd, 0x43, + 0x3d, 0xa8, 0xb5, 0xa6, 0xa6, 0x8e, 0x17, 0xd1, 0xff, 0x81, 0xfb, 0x62, 0x32, 0xad, 0x3c, 0x76, + 0xfb, 0x08, 0x60, 0xf2, 0x80, 0x46, 0x03, 0xb5, 0xda, 0xcb, 0x58, 0x28, 0x59, 0xe4, 0xad, 0xd1, + 0x2b, 0xb0, 0x31, 0xd1, 0xe0, 0x77, 0xc9, 0x58, 0xd5, 0xce, 0x44, 0x9a, 0xa2, 0xaa, 0x34, 0xb6, + 0x53, 0x2a, 0x16, 0x79, 0x56, 0xeb, 0x18, 0x36, 0xb9, 0x28, 0x38, 0x3b, 0xc9, 0xd2, 0x7e, 0xcb, + 0xd5, 0x0f, 0xd0, 0x03, 0xe4, 0xef, 0x80, 0x7c, 0x7b, 0xef, 0x84, 0xcb, 0xd3, 0x61, 0x0f, 0x7f, + 0x0e, 0xee, 0x6a, 0xd8, 0x1d, 0x2e, 0x0a, 0x49, 0x91, 0x7c, 0xf7, 0x44, 0xdc, 0x09, 0x53, 0x7e, + 0x57, 0x73, 0x9d, 0xf6, 0xde, 0x10, 0xf2, 0x47, 0x69, 0xb3, 0xf3, 0x7a, 0xe7, 0x2b, 0xed, 0xf5, + 0xf3, 0x2c, 0xed, 0xf7, 0xaa, 0x0a, 0x7a, 0xff, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x27, 0xc0, + 0xa9, 0x1e, 0xc0, 0x0d, 0x00, 0x00, } diff --git a/proto/feder.proto b/proto/feder.proto index 63c7219..eb46248 100644 --- a/proto/feder.proto +++ b/proto/feder.proto @@ -3,15 +3,12 @@ package milvus.proto.feder; option go_package = "github.com/milvus-io/milvus-proto/go-api/federpb"; import "common.proto"; +import "schema.proto"; message SegmentIndexData { int64 segmentID = 1; string index_data = 2; // data from knownwhere -} - -message FederSegmentSearchResult { - int64 segmentID = 1; - string visit_info = 2; + schema.IDs ids_set = 3; } message ListIndexedSegmentRequest { diff --git a/proto/schema.proto b/proto/schema.proto index a2682bb..081be1a 100644 --- a/proto/schema.proto +++ b/proto/schema.proto @@ -150,4 +150,11 @@ message SearchResultData { repeated float scores = 4; IDs ids = 5; repeated int64 topks = 6; + map<int64, FederSegmentSearchResult> visitor_views = 7; +} + +message FederSegmentSearchResult { + int64 segmentID = 1; + string visit_info = 2; + IDs visit_ids = 3; }