Class HtmlFormatter

    • Constructor Detail

      • HtmlFormatter

        public HtmlFormatter()
    • Method Detail

      • getFormatter

        public org.apache.lucene.search.highlight.Formatter getFormatter​(String fieldName,
                                                                         org.apache.solr.common.params.SolrParams params)
        Description copied from interface: SolrFormatter
        Return a Formatter appropriate for this field.
        Specified by:
        getFormatter in interface SolrFormatter
        Parameters:
        fieldName - The name of the field
        params - The params controlling Highlighting
        Returns:
        An appropriate Formatter