progress bar for indexing.