public interface SolrFormatter extends SolrInfoBean, NamedListInitializedPlugin
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Method and Description |
---|---|
Formatter |
getFormatter(String fieldName,
SolrParams params)
Return a
Formatter 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
Formatter getFormatter(String fieldName, SolrParams params)
Formatter
appropriate for this field.fieldName
- The name of the fieldparams
- The params controlling HighlightingFormatter
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.