Class NoFormatFormatter

java.lang.Object
com.atlassian.confluence.impl.search.summary.NoFormatFormatter
All Implemented Interfaces:
org.apache.lucene.search.highlight.Formatter

public class NoFormatFormatter extends Object implements org.apache.lucene.search.highlight.Formatter
A highlight formatter that doesn't highlight. Example use would be for requests via SOAP.
  • Method Details

    • getInstance

      public static NoFormatFormatter getInstance()
    • highlightTerm

      public String highlightTerm(String originalText, org.apache.lucene.search.highlight.TokenGroup tokenGroup)
      Specified by:
      highlightTerm in interface org.apache.lucene.search.highlight.Formatter