Class WrappingFormatter
java.lang.Object
com.atlassian.confluence.impl.search.summary.WrappingFormatter
- All Implemented Interfaces:
org.apache.lucene.search.highlight.Formatter
public class WrappingFormatter
extends Object
implements org.apache.lucene.search.highlight.Formatter
A highlight formatter that wraps the term with two strings, before and after.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhighlightTerm
(String originalText, org.apache.lucene.search.highlight.TokenGroup tokenGroup)