--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/dbd96312-258a-4178-9b1b-fb60b60dcc77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Stephen for your comments. Here is what I see for each option mentioned.
1) gremlin> g.V('idxp','foo').toString()
==>[GremlinStartPipe, GraphQueryPipe(has,vertex), IdentityPipe]
2) gremlin> g.V.has('idxp','foo').toString()
==>[GremlinStartPipe, GraphQueryPipe(has,vertex), IdentityPipe]
3) gremlin> g.getVertices('idxp','foo').toString()
==>com.tinkerpop.blueprints.impls.neo4j2.Neo4j2VertexIterable@45c6c4cf
==>com.tinkerpop.blueprints.util.DefaultGraphQuery@7eb03b9a
Does above output indicate that (4) is not using indices based on https://groups.google.com/forum/#!searchin/gremlin-users/getVertices/gremlin-users/SIB0W5CUdlk/E-AWsu9Q2zQJ ("For those engines that don't have indices, then there are always DefaultQueries")
Considering the following recommendation from https://github.com/tinkerpop/gremlin/wiki/Gremlin-Groovy-Path-Optimizations -
"In general, forREPLing around a graph, use the more concise representation. For production traversals, use native Blueprints API calls and avoid reflection."
Does it mean that for production, I should avoid using (1) and (2) if I have to locate vertices with 'idxp' == 'foo' ?