Sometimes you accidentally type a a query that will match the world (looking at you .) and you don't want to wait for that to finish before you can type the real query. It would be good to cancel the existing search if a user immediately brings tries searching again or if the user closes the results buffer.
Additionally, it might be good to have a command to kill the indexing process.