return doc.asXML();
}
catch (Exception e) {
throw new SearchException(e);
}
<BUG>finally {
if (hits != null) {
hits.closeSearcher();
}
}</BUG>
}

return doc.asXML();
}
catch (Exception e) {
throw new SearchException(e);
}
}
