Class ExplainAugmenterFactory
java.lang.Object
org.apache.solr.response.transform.TransformerFactory
org.apache.solr.response.transform.ExplainAugmenterFactory
- All Implemented Interfaces:
NamedListInitializedPlugin
- Since:
- solr 4.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.solr.response.transform.TransformerFactory
TransformerFactory.FieldRenamer -
Field Summary
FieldsFields inherited from class org.apache.solr.response.transform.TransformerFactory
defaultFactories, defaultUserArgs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req) voidinit(org.apache.solr.common.util.NamedList<?> args) initwill be called just once, immediately after creation.static StringtoHtml(org.apache.lucene.search.Explanation explanation) Render an explanation as HTML.
-
Field Details
-
defaultStyle
-
-
Constructor Details
-
ExplainAugmenterFactory
public ExplainAugmenterFactory()
-
-
Method Details
-
init
public void init(org.apache.solr.common.util.NamedList<?> args) Description copied from interface:NamedListInitializedPlugininitwill be called just once, immediately after creation.Source of the initialization arguments will typically be solrconfig.xml, but will ultimately depends on the plugin itself
- Specified by:
initin interfaceNamedListInitializedPlugin- Overrides:
initin classTransformerFactory- Parameters:
args- non-null list of initialization parameters (may be empty)
-
getStyle
-
create
public DocTransformer create(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req) - Specified by:
createin classTransformerFactory
-
toHtml
Render an explanation as HTML.
-