How to create an index through gremlin-client? #2652
Unanswered
zhengyingying
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I guess you used the conf/remot-object.yaml for connecting with the gremlin client, which specifies the JanusGraphIoRegistry for object serialization. Apparently, the object you want to return is not part of this registry. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to create an index using gremlin-client to submit the following string.
graph = g.getGraph(); mgmt = graph.openManagement();mgmt.buildIndex('index-vl1-vp0', Vertex.class).addKey(mgmt.getPropertyKey('vp0')).buildCompositeIndex();mgmt.commit(); mgmt.awaitGraphIndexStatus(graph, 'index-vl1-vp0').call();
An Exception was thrown:
Error during serialization: Class is not registered: org.janusgraph.graphdb.database.management.GraphIndexStatusReport Note: To register this class use: kryo.register(org.janusgraph.graphdb.database.management.GraphIndexStatusReport.class);
How can I solve it?
Beta Was this translation helpful? Give feedback.
All reactions