public interface SolrFragmenter extends SolrInfoBean, NamedListInitializedPlugin
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Method and Description |
---|---|
Fragmenter |
getFragmenter(String fieldName,
SolrParams params)
Return a
Fragmenter appropriate for this field. |
void |
init(NamedList args)
init will be called just once, immediately after creation. |
getCategory, getDescription, getMetricNames, getMetricRegistry, getMetricsSnapshot, getName, registerMetricName
void init(NamedList args)
init
will be called just once, immediately after creation.
The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml
init
in interface NamedListInitializedPlugin
Fragmenter getFragmenter(String fieldName, SolrParams params)
Fragmenter
appropriate for this field.fieldName
- The name of the fieldparams
- The params controlling HighlightingFragmenter
.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.