mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for createSearchPlan (#15111)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/15132/head
parent
4174daee80
commit
018f32847f
|
@ -36,6 +36,7 @@ type SearchPlan struct {
|
|||
cSearchPlan C.CSearchPlan
|
||||
}
|
||||
|
||||
// createSearchPlan returns a new SearchPlan and error
|
||||
func createSearchPlan(col *Collection, dsl string) (*SearchPlan, error) {
|
||||
if col.collectionPtr == nil {
|
||||
return nil, errors.New("nil collection ptr, collectionID = " + fmt.Sprintln(col.id))
|
||||
|
|
Loading…
Reference in New Issue