What is the correct way to utilize a previously created vertex index within a traversal?
I want find the vertex with a specific key/value. I thus created a unique index on a specific vertex class.
My traversal works but I have the feeling index is not being utilized (I inspected the call tree)
Vertex v = getGraph().getRawTraversal().V().has("testkey", P.eq("testvalue")).next();
My main reference are orientdb-gremlin unit tests:
The main doc does not yet contain any references to index usage. (Presumable because 3.x has not yet been released)
https://orientdb.com/docs/3.0.x/tinkerpop3/OrientDB-TinkerPop3.html