Doc -> Vector