Package org.apache.solr.highlight
Interface SolrFragmenter
-
- All Superinterfaces:
AutoCloseable
,NamedListInitializedPlugin
,SolrInfoBean
,SolrMetricProducer
- All Known Implementing Classes:
GapFragmenter
,RegexFragmenter
public interface SolrFragmenter extends SolrInfoBean, NamedListInitializedPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.lucene.search.highlight.Fragmenter
getFragmenter(String fieldName, org.apache.solr.common.params.SolrParams params)
Return aFragmenter
appropriate for this field.-
Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Methods inherited from interface org.apache.solr.core.SolrInfoBean
getCategory, getDescription, getName
-
Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close, getSolrMetricsContext, initializeMetrics
-
-
-
-
Method Detail
-
getFragmenter
org.apache.lucene.search.highlight.Fragmenter getFragmenter(String fieldName, org.apache.solr.common.params.SolrParams params)
Return aFragmenter
appropriate for this field.- Parameters:
fieldName
- The name of the fieldparams
- The params controlling Highlighting- Returns:
- An appropriate
Fragmenter
.
-
-