code: func (e *executor) remoteExec(ctx context.Context, node *Node, index string, q *pql.Query, shards []uint64) (results []interface{}, err error) { // nolint: interfacer
  	span, ctx := tracing.StartSpanFromContext(ctx, "Executor.executeExec")
  	defer span.Finish()
  
  	// Encode request object.
  	pbreq := &QueryRequest{
  		Query:  q.String(),
  		Shards: shards,
  		Remote: true,
  	}
  
  	pb, err := e.client.QueryNode(ctx, &node.URI, index, pbreq)
  	if err != nil {
  		return nil, err
  	}
  
  	return pb.Results, pb.Err
  }
docs: // remoteExec executes a PQL query remotely for a set of shards on a node.