Interface SolrEncoder

All Superinterfaces:
NamedListInitializedPlugin
All Known Implementing Classes:
DefaultEncoder, HtmlEncoder

public interface SolrEncoder extends NamedListInitializedPlugin
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.search.highlight.Encoder
    getEncoder(String fieldName, org.apache.solr.common.params.SolrParams params)
    Return an Encoder appropriate for this field.

    Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin

    init
  • Method Details

    • getEncoder

      org.apache.lucene.search.highlight.Encoder getEncoder(String fieldName, org.apache.solr.common.params.SolrParams params)
      Return an Encoder appropriate for this field.
      Parameters:
      fieldName - The name of the field
      params - The params controlling Highlighting
      Returns:
      An appropriate Encoder