* @param runner the runner used to perform an asynchronous search
* @return the results that were produced @ if the results of at least one of the searched could
* not be computed
*/
private List<SearchMatch> gatherResults(SearchRunner runner) {
GatheringSearchListener listener = new GatheringSearchListener();
runner.performSearch(listener);
while (!listener.isComplete()) {
Thread.yield();
}
return listener.getMatches();
}