We associate to any legendrian immersion of the circle in the space of the oriented contact elements of the plane a framed knot in the solid torus. We show that pure topological invariants of such framed knot are related to invariants - the coefficients of the partial indices polynomial - of the legendrian immersion.