Robert Parker, a master detective, turned a German short-haired pointer named Spencer into one of the main characters in the detective novel “The Boston Detective”.