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