Class HtmlEncoder

    • Constructor Detail

      • HtmlEncoder

        public HtmlEncoder()
    • Method Detail

      • getEncoder

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