Package org.apache.solr.highlight
Class GapFragmenter
java.lang.Object
org.apache.solr.highlight.HighlightingPluginBase
org.apache.solr.highlight.GapFragmenter
- All Implemented Interfaces:
AutoCloseable,SolrInfoBean,SolrFragmenter,SolrMetricProducer,NamedListInitializedPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group -
Field Summary
Fields inherited from class org.apache.solr.highlight.HighlightingPluginBase
defaults, metricNames, numRequests, solrMetricsContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSimple one or two line descriptionorg.apache.lucene.search.highlight.FragmentergetFragmenter(String fieldName, org.apache.solr.common.params.SolrParams params) Return aFragmenterappropriate for this field.Methods inherited from class org.apache.solr.highlight.HighlightingPluginBase
getCategory, getName, getSolrMetricsContext, init, initializeMetricsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
initMethods inherited from interface org.apache.solr.core.SolrInfoBean
getCategory, getNameMethods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close, getSolrMetricsContext, initializeMetrics
-
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:SolrFragmenterReturn aFragmenterappropriate for this field.- Specified by:
getFragmenterin interfaceSolrFragmenter- Parameters:
fieldName- The name of the fieldparams- The params controlling Highlighting- Returns:
- An appropriate
Fragmenter.
-
getDescription
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classHighlightingPluginBase
-