How can I find a vertex index number by knowing a value which is unique.

23 views
Skip to first unread message

Yossi Eliaz

unread,
Nov 10, 2012, 11:46:49 AM11/10/12
to gremli...@googlegroups.com

I tried the above code snippet, but couldn't get the index of vertex number 321. Firstly I was looking for its value then I passed it to Index[] and to g.idx() but It didn't return me the index 321.

What do I miss? I assume there is one to one relation between index number and the value of it.

Thanks 

Yossi Eliaz

unread,
Nov 10, 2012, 3:02:21 PM11/10/12
to gremli...@googlegroups.com
gremlin> import com.tinkerpop.gremlin.Tokens.T 

I have just figure it out ... :)






יוסי    אליעז 
Yossi Eliaz



--
 
 

Reply all
Reply to author
Forward
0 new messages