org.apache.solr.highlight
Class DefaultEncoder
java.lang.Object
org.apache.solr.highlight.HighlightingPluginBase
org.apache.solr.highlight.DefaultEncoder
- All Implemented Interfaces:
- SolrInfoMBean, SolrEncoder, NamedListInitializedPlugin
public class DefaultEncoder
- extends HighlightingPluginBase
- implements SolrEncoder
Use the DefaultEncoder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.solr.highlight.SolrEncoder |
init |
DefaultEncoder
public DefaultEncoder()
getEncoder
public Encoder getEncoder(String fieldName,
SolrParams params)
- Description copied from interface:
SolrEncoder
- Return an
Encoder
appropriate for this field.
- Specified by:
getEncoder
in interface SolrEncoder
- Parameters:
fieldName
- The name of the fieldparams
- The params controlling Highlighting
- Returns:
- An appropriate
Encoder
getDescription
public String getDescription()
- Description copied from interface:
SolrInfoMBean
- Simple one or two line description
- Specified by:
getDescription
in interface SolrInfoMBean
- Specified by:
getDescription
in class HighlightingPluginBase
getSource
public String getSource()
- Description copied from interface:
SolrInfoMBean
- CVS Source, SVN Source, etc
- Specified by:
getSource
in interface SolrInfoMBean
- Specified by:
getSource
in class HighlightingPluginBase
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.