Class GapFragmenter

All Implemented Interfaces:
AutoCloseable, SolrInfoBean, SolrFragmenter, SolrMetricProducer, NamedListInitializedPlugin

public class GapFragmenter extends HighlightingPluginBase implements SolrFragmenter
  • Constructor Details

    • GapFragmenter

      public GapFragmenter()
  • Method Details

    • getFragmenter

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

      public String getDescription()
      Description copied from interface: SolrInfoBean
      Simple one or two line description
      Specified by:
      getDescription in interface SolrInfoBean
      Specified by:
      getDescription in class HighlightingPluginBase