}
elastic.NewTermQuery(sadefs.NamespaceID, namespaceID.String()),
queryParams.QueryExpr,
)
orderBy := make([]elastic.Sorter, 0, len(queryParams.OrderBy))
for _, orderByExpr := range queryParams.OrderBy {
// query converter is supposed to parse the expression and convert to SAColumn
colName, ok := orderByExpr.Expr.(*query.SAColumn)