The ElasticSearch code indexes everything into a single index by the id of the vertex or edge. Therefore, an edge with id=A will overwrite a previously indexed vertex with id=A and vice-versa.
The question is whether this is expected behavior or not. Are ids assumed to be unique across the graph or only within their own type (vertex or edge)?