Class 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.
    • Constructor Detail

      • NoFormatFormatter

        protected NoFormatFormatter()
    • Method Detail

      • highlightTerm

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