I want to count how many vertices (nodes) are in the graph:
gremlin>g.V().count().next()
Could not find a suitable index to answer graph query and graph scans are disabled: [(~label = user)]:VERTEX
Gremlin.version() is 3.2.9
I use janusGraph hbase to store data, es to store index.
But some query is ok like this:
gremlin> g.V().has('user_id','47357061').values('real_name')
==>jack
I don't understand why I can't query the count.