func (query SearchQueryBuilder) Limit(limit int) SearchQueryBuilder {
	query.opts.Limit = &limit
	return query
}
Limit can be used to limit the number of objects returned for a single search request.
package t38c
type SearchQueryBuilder struct {
	client       tile38Client
	key          string
	outputFormat *OutputFormat
	opts         searchOpts
}
func newSearchQueryBuilder(client tile38Client, key string) SearchQueryBuilder {
	return SearchQueryBuilder{
		client: client,
		key:    key,
	}
}
func (query SearchQueryBuilder) toCmd() cmd {
	args := []string{query.key}
	args = append(args, query.opts.Args()...)
	if query.outputFormat != nil {
		args = append(args, query.outputFormat.Name)
		args = append(args, query.outputFormat.Args...)
	}
	return newCmd("SEARCH", args...)
}
func (query SearchQueryBuilder) Do() (*SearchResponse, error) {
	cmd := query.toCmd()
	resp := new(SearchResponse)
	err := query.client.jExecute(&resp, cmd.Name, cmd.Args...)
	return resp, err
}
func (query SearchQueryBuilder) Cursor(cursor int) SearchQueryBuilder {
	query.opts.Cursor = &cursor
	return query
}