Class DefaultEncoder

    • Constructor Detail

      • DefaultEncoder

        public DefaultEncoder()
    • 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