public interface SolrEncoder extends SolrInfoMBean, NamedListInitializedPlugin
SolrInfoMBean.Category
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, getDocs, getName, getSource, getStatistics, getVersion
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-2013 Apache Software Foundation. All Rights Reserved.