Package org.apache.solr.highlight
Class GapFragmenter
- java.lang.Object
-
- org.apache.solr.highlight.HighlightingPluginBase
-
- org.apache.solr.highlight.GapFragmenter
-
- All Implemented Interfaces:
SolrInfoBean
,SolrFragmenter
,SolrMetricProducer
,NamedListInitializedPlugin
public class GapFragmenter extends HighlightingPluginBase implements SolrFragmenter
-
-
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, metricManager, metricNames, numRequests, registry, registryName
-
-
Constructor Summary
Constructors Constructor Description GapFragmenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Simple one or two line descriptionorg.apache.lucene.search.highlight.Fragmenter
getFragmenter(String fieldName, SolrParams params)
Return aFragmenter
appropriate for this field.-
Methods inherited from class org.apache.solr.highlight.HighlightingPluginBase
getCategory, getMetricNames, getMetricRegistry, getName, init, initializeMetrics
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.highlight.SolrFragmenter
init
-
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getCategory, getMetricNames, getMetricRegistry, getMetricsSnapshot, getName, registerMetricName
-
-
-
-
Method Detail
-
getFragmenter
public org.apache.lucene.search.highlight.Fragmenter getFragmenter(String fieldName, SolrParams params)
Description copied from interface:SolrFragmenter
Return aFragmenter
appropriate for this field.- Specified by:
getFragmenter
in interfaceSolrFragmenter
- Parameters:
fieldName
- The name of the fieldparams
- 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 interfaceSolrInfoBean
- Specified by:
getDescription
in classHighlightingPluginBase
-
-