String att = contentHighlighter.getKey();
//IF crBean matches the highlighters rule => highlight
if (highligther.match(crBean)) {
String ret = null;
if (highligther instanceof AdvancedContentHighlighter) {
AdvancedContentHighlighter advancedHighlighter = (AdvancedContentHighlighter) highligther;
int documentId = Integer.parseInt(doc.get("id"));
ret = advancedHighlighter.highlight(parsedQuery, reader, documentId, att);
} else {
ret = highligther.highlight((String) crBean.get(att), parsedQuery);
}
if (ret != null && !"".equals(ret)) {