Collecting index statistics

The solr_index_stats_options object records core-specific index overview statistics over time.

To collect index statistics:

  • To permanently collect index statistics:

    1. Edit the dse.yaml file.

      The location of the dse.yaml file depends on the type of installation:

      • Package installations and Installer-Services installations: /etc/dse/dse.yaml

      • Tarball installations and Installer-No Services installations: <installation_location>/resources/dse/conf/dse.yaml

    2. Change solr_index_stats_options.enabled to true, and then set the other options as required:

      # Solr index statistics options
      solr_index_stats_options:
          enabled: false
          ttl_seconds: 604800
          refresh_rate_ms: 60000
      Options Determines

      enabled

      Whether the object is enabled at start up. Default: false

      refresh_rate_ms

      Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.

      ttl_seconds

      How many seconds a record survives before it is expired from the performance object.

    3. Restart DSE to apply the changes.

  • To temporarily enable or disable collecting index statistics, use dsetool perf solrindexstats.

  • To verify index integrity, use dsetool index_checks.

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