TokenStream tokenStream = analyzer.tokenStream(this.getHighlightAttribute(), new StringReader(attribute));
try {
UseCase ucFragments = MonitorFactory.startUseCase("Highlight.PhraseBolder.highlight()#getFragments");
TextFragment[] frags = highlighter
.getBestTextFragments(tokenStream, attribute, true, getMaxFragments());
ucFragments.stop();
boolean first = true;
int startPosition = -1;
int endPosition = -1;
for (TextFragment frag : frags) {
String fragment = frag.toString();