TitanDB not using indexes for query
问题 I have created indexes on two properties: mgmt.buildIndex("userId", Vertex.class).addKey(mgmt.makePropertyKey("userId").dataType(Integer.class).make()).buildCompositeIndex(); mgmt.buildIndex("firstNameIndex", Vertex.class).addKey(mgmt.makePropertyKey("firstName").dataType(String.class).make()).buildCompositeIndex(); On Gremlin shell i can see the indexes have been created: g.getIndexedKeys(Vertex.class) ==>userId ==>firstName Now when i so query on vertices like simplest one: gremlin> g.V()