Illustration Image

JanusGraph index stuck in "INSTALLED" state after running REGISTER_INDEX command

I'm trying to create a composite index on the title property in JanusGraph using the Gremlin console.

Here's what I've done so far:

  1. Created the title property key.
  2. Built a unique composite index on this key named byTitleUnique.
  3. Waited for the index to show in the INSTALLED state using

mgmt.getGraphIndex('byTitleUnique')

  1. Attempted to update the index status to REGISTERED using the following commands:

mgmt = graph.openManagement()
mgmt.updateIndex(mgmt.getGraphIndex('byTitleUnique'), SchemaAction.REGISTER_INDEX).get()
mgmt.commit()

After running the command and waiting a long time (even over an hour), the index status still remains in the INSTALLED state.

As per my understanding, after this step, I should be able to Reindex and then Enable the index. But since the index isn’t moving past the INSTALLED state, I'm stuck.


Questions:

  • Why isn't the index transitioning from INSTALLED to REGISTERED after running the command?

  • Is there anything else I need to do to make this transition happen?

  • Could this be related to the backend (I'm using Cassandra and Elasticsearch)?

Any help or insights would be appreciated.

Become part of our
growing community!
Welcome to Planet Cassandra, a community for Apache Cassandra®! We're a passionate and dedicated group of users, developers, and enthusiasts who are working together to make Cassandra the best it can be. Whether you're just getting started with Cassandra or you're an experienced user, there's a place for you in our community.
A dinosaur
Planet Cassandra is a service for the Apache Cassandra® user community to share with each other. From tutorials and guides, to discussions and updates, we're here to help you get the most out of Cassandra. Connect with us and become part of our growing community today.
© 2009-2023 The Apache Software Foundation under the terms of the Apache License 2.0. Apache, the Apache feather logo, Apache Cassandra, Cassandra, and the Cassandra logo, are either registered trademarks or trademarks of The Apache Software Foundation. Sponsored by Anant Corporation and Datastax, and Developed by Anant Corporation.

Get Involved with Planet Cassandra!

We believe that the power of the Planet Cassandra community lies in the contributions of its members. Do you have content, articles, videos, or use cases you want to share with the world?