addWarning("Highlighting cannot be used with aliases - skipped.");
} else if (getXpath() != null) {
addWarning("Highlighting cannot be used together with xpath - skipped.");
} else {
// highlight itemvalue with information from lucene query
result = Collections.singletonList(tmlContext.highlightitem(itemName, getHighlightprefix(), getHighlightsuffix(), getStatus().encode));
getStatus().encode = "none";
}
}
}
else if (type.equals("profile")) {