Verifying indexing status

Steps to check the indexing status using dsetool, the Core Admin, or logs.

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

If you use HTTP to post the files to a pre-existing table, DSE Search starts indexing the data. If you use HTTP to post the files to a non-existent column keyspace or table, DSE Search creates the keyspace and table, and then starts indexing the data. For example, you can change the stopwords.txt file, repost the schema, and the index updates.

Checking the indexing status using dsetool 

To check the dynamic indexing status and progress of the wiki.solr core in the local DSE Search node:
dsetool core_indexing_status keyspace_name.table_name [--all] [--progress]
This command retrieves the dynamic indexing status (INDEXING, FINISHED, or FAILED) of the specified core or cores in a DSE Search node, and optionally displays the percent complete and an estimated completion time in milliseconds.
To retrieve the indexing status of all search cores:
dsetool core_indexing_status keyspace_name.table_name --all
To retrieve the indexing status only for a specific host, use:
dsetool -h IP_address core_indexing_status keyspace_name.table_name

To retrieve the indexing status only for a specific host and display the indexing progress, use:

dsetool -h IP_address core_indexing_status keyspace_name.table_name --progress
For example, to retrieve the indexing status and show for the progress for the wiki.solr core:
dsetool core_indexing_status wiki.solr --progress
The results are displayed:
[wiki.solr]: INDEXING, 38% complete, ETA 452303 milliseconds (7 minutes 32 seconds)

Checking the indexing status using the Core Admin 

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



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