Package org.apache.solr.highlight
Interface SolrEncoder
- All Superinterfaces:
NamedListInitializedPlugin
- All Known Implementing Classes:
DefaultEncoder,HtmlEncoder
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.highlight.EncodergetEncoder(String fieldName, org.apache.solr.common.params.SolrParams params) Return anEncoderappropriate for this field.Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin
init
-
Method Details
-
getEncoder
org.apache.lucene.search.highlight.Encoder getEncoder(String fieldName, org.apache.solr.common.params.SolrParams params) Return anEncoderappropriate for this field.- Parameters:
fieldName- The name of the fieldparams- The params controlling Highlighting- Returns:
- An appropriate
Encoder
-