how to use indexer diagnostics