String title = docSummary.getTitle();
String url = getURL(themeDisplay, groupId, result, portletURL);
Date modifedDate = DateTools.stringToDate(
result.get(Field.MODIFIED));
String content = docSummary.getContent();
<BUG>double score = hits.score(i);
</BUG>
addSearchResult(root, title, url, modifedDate, content, score);
}
if (_log.isDebugEnabled()) {

String title = docSummary.getTitle();
String url = getURL(themeDisplay, groupId, result, portletURL);
Date modifedDate = DateTools.stringToDate(
result.get(Field.MODIFIED));
String content = docSummary.getContent();
double score = results.score(i);
addSearchResult(root, title, url, modifedDate, content, score);
}
if (_log.isDebugEnabled()) {
