bigsheeper b441685635 Refactor segment, partition and collection, refactor search and services
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-09 16:27:11 +08:00

32 lines
454 B
Go

package reader
import "C"
type planCache struct {
planBuffer map[DSL]plan
}
type plan struct {
//cPlan C.CPlan
}
func (ss *searchService) Plan(queryBlob string) *plan {
/*
@return pointer of plan
void* CreatePlan(const char* dsl)
*/
/*
CPlaceholderGroup* ParserPlaceholderGroup(const char* placeholders_blob)
*/
/*
long int GetNumOfQuery(CPlaceholderGroup* placeholder_group)
long int GetTopK(CPlan* plan)
*/
return nil
}