The vertex that has just been created are not immediately available on mixed index (documented here [1]).
I'm looking for a way to make sure the vertex is indexed, by waiting the mixed index backend. I think the easiest way is to request the vertex id using direct index query: