Hi,

...or it means that g.V[6] isn't connected to anything. Do this:

v = g.V[6].next()
v.both
v.map()

That will tell you if the 6th vertex of V is connected and if it has properties.

Marko.

http://markorodriguez.com

On Nov 16, 2011, at 4:28 AM, Peter Neubauer wrote:

> Rahul,
> this probably is an effect of getting a pipe back, that you explicitly
> need to empty in order to be able to see anything (try g.V[6] >> -1),
> which the console and REST endpoints are doing automatically for you.
> 
> Could you try that?
> 
> Cheers,
> 
> /peter neubauer
> 
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
> 
> http://www.neo4j.org              - NOSQL for the Enterprise.
> http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
> 
> 
> 
> On Wed, Nov 16, 2011 at 11:56 AM, Rahul Mehta <rahul23134...@gmail.com> wrote:
>> by neo4j console and also with gremlin
>> 
>> On Wed, Nov 16, 2011 at 4:23 PM, Peter Neubauer
>> <peter.neuba...@neotechnology.com> wrote:
>>> 
>>> Rahul,
>>> are you using neo4j.rb or Gremlin/Pacer here?
>>> 
>>> Cheers,
>>> 
>>> /peter neubauer
>>> 
>>> GTalk:      neubauer.peter
>>> Skype       peter.neubauer
>>> Phone       +46 704 106975
>>> LinkedIn   http://www.linkedin.com/in/neubauer
>>> Twitter      http://twitter.com/peterneubauer
>>> 
>>> http://www.neo4j.org              - NOSQL for the Enterprise.
>>> http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
>>> 
>>> 
>>> 
>>> On Wed, Nov 16, 2011 at 11:49 AM, Rahul Mehta <rahul23134...@gmail.com>
>>> wrote:
>>>> using neo4j:
>>>> 
>>>> when m doing :
>>>> 
>>>> g.E
>>>> ==> e[1][1-follow->6]
>>>> ==> e[4][5-follow->6]
>>>> ==> e[3][7-follow->6]
>>>> ==> e[5][8-follow->6]
>>>> 
>>>> g.V
>>>> ==> v[0]
>>>> ==> v[1]
>>>> ==> v[5]
>>>> ==> v[6]
>>>> ==> v[7]
>>>> ==> v[8]
>>>> but when m doing g.V[6].both is returning nothing please tell why ?
>>>> 
>>>> also when m doing g.V[6].map it is not returning anything but when i
>>>> see from admin and it shows and while g.V.map then also it shows
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "neo4jrb" group.
>>>> To post to this group, send email to neo4...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> neo4jrb+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/neo4jrb?hl=en.
>>>> 
>>>> 
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "neo4jrb" group.
>>> To post to this group, send email to neo4...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> neo4jrb+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/neo4jrb?hl=en.
>>> 
>> 
>> 
>> 
>> --
>> Thanks & Regards
>> 
>> Rahul Mehta
>> 
>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups
>> "neo4jrb" group.
>> To post to this group, send email to neo4...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> neo4jrb+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/neo4jrb?hl=en.
>> 
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to