Interface SolrEncoder

All Superinterfaces:
AutoCloseable, NamedListInitializedPlugin, SolrInfoBean, SolrMetricProducer
All Known Implementing Classes:
DefaultEncoder, HtmlEncoder

public interface SolrEncoder extends SolrInfoBean, NamedListInitializedPlugin
  • 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