indexer: Documentation improvments

Add some comments.
indexer: Print out the number of terms after an indexing run