Re: Phantom vertices


Robert Dale <rob...@...>
 


Let's see what you've got:

g.V().groupCount().by(label)

g.V().values('movieid').min()
g.V().values('movieid').max()

g.V().values('personid').min()
g.V().values('personid').max()


Robert Dale

On Tue, Aug 15, 2017 at 7:44 PM, Rohit Jain <rohit.j...@...> wrote:
Hi folks,

I created 4916 vertices with the label 'movie' and a property 'movieid' where the movieid goes from 1 to 4916.
I created 8491 vertices with the label 'person' and a property 'personid' where the personid goes from 1 to 8491.
I create 'role' edges from these person vertices to the movie vertices with a 'roletype' indicating actor or director

When I do g.V().count() I get 13420 when I should get 13407.

Looks like I have some phantom vertices.  How do I find them?

Also, on a g.V().hasLabel('person').count(), I get 8492 instead of 8491.  So I even have a phantom personid that I don't know how to locate.

Rohit

--
You received this message because you are subscribed to the Google Groups "JanusGraph users list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.