show used indices in search results. fixes #337