Adjusting timeout for index management

When running search index management commands on large datasets using cqlsh, the process might take longer than the default timeout period (10 minutes). You can override the default timeout value.

For cqlsh, temporarily increase the timeout period for index management commands by setting the following options before starting cqlsh:

  • Set --request-timeout to a non-default value. This enables setting the CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS environment variable.

  • Set the CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS environment variable:

    export CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS=900;

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use |  Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM