Astros shortstop Jed Lowrie will have surgery for a torn ligament in his right thumb is expected to be out until after the All-Star break.