A man has been detained for questioning in connection with the shooting at the Chabad of Poway, officials said.