Code for analysing cluster search results.