Verifying indexing status

You can check the indexing status using dsetool, the Core Admin, or the logs.

Examples

These examples use the demo keyspace and health_data table.

To view the indexing status for the local node:

dsetool core_indexing_status demo.health_data

The results are displayed:

[demo.health_data]: INDEXING, 38% complete, ETA 452303 milliseconds (7 minutes 32 seconds),
                    reason: USER_REQUEST

To view the indexing status for a search index on a specified node:

dsetool -h 200.192.10.11 core_indexing_status demo.health_data

To view indexing status of all search indexes in the data center:

dsetool core_indexing_status demo.health_data --all

The results are displayed for 3 nodes in the data center:

Address 	 Core Indexing Status
        200.192.10.11 	 FINISHED
        200.192.10.12 	 FINISHED
        200.192.10.23 	 FINISHED

Checking the indexing status using the Core Admin

To check the indexing status, open the Solr Admin and click Core Admin.

srch chk indx

Checking the indexing status using the logs

You can also check the logs to get the indexing status. For example, you can check information about the plugin initializer:

INDEXING / REINDEXING -
INFO SolrSecondaryIndex plugin initializer. 2013-08-26 19:25:43,347 SolrSecondaryIndex.java (line 403) Reindexing 439171 keys for core wiki.solr

Or you can check the SecondaryIndexManager.java information:

INFO Thread-38 2013-08-26 19:31:28,498 SecondaryIndexManager.java (line 136) Submitting index build of wiki.solr for data in SSTableReader(path='/mnt/cassandra/data/wiki/solr/wiki-solr-ic-5-Data.db'), SSTableReader(path='/mnt/cassandra/data/wiki/solr/wiki-solr-ic-6-Data.db')

FINISH INDEXING -
INFO Thread-38 2013-08-26 19:38:10,701 SecondaryIndexManager.java (line 156) Index build of wiki.solr complete

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

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: +1 (650) 389-6000, info@datastax.com