| 45 | } |
| 46 | |
| 47 | type SearchResult struct { |
| 48 | ID string `json:"id"` |
| 49 | Version int `json:"version"` |
| 50 | Score float64 `json:"score"` |
| 51 | Payload interface{} `json:"payload"` |
| 52 | Vector []float64 `json:"vector,omitempty"` |
| 53 | } |
| 54 | |
| 55 | func CreatePoints(collectionName string, pointRequest PointRequest) (err error) { |
| 56 | response := &CommonResponse{} |
nothing calls this directly
no outgoing calls
no test coverage detected