Created
August 1, 2018 04:55
-
-
Save NhuanTDBK/ac0e708cb8b029ed652bcad3a206e2bb to your computer and use it in GitHub Desktop.
janus_reindex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph = JanusGraphFactory.open("conf/gremlin-server/janusgraph-cql-es.properties") | |
mgmt = graph.openManagement() | |
mgmt.updateIndex(mgmt.getGraphIndex("ByShopIDAndRefID"), SchemaAction.REINDEX).get() | |
mgmt.updateIndex(mgmt.getGraphIndex("ByShopID"), SchemaAction.REINDEX).get() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment