Class ValueAugmenterFactory
- java.lang.Object
-
- org.apache.solr.response.transform.TransformerFactory
-
- org.apache.solr.response.transform.ValueAugmenterFactory
-
- All Implemented Interfaces:
NamedListInitializedPlugin
public class ValueAugmenterFactory extends TransformerFactory
- Since:
- solr 4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueAugmenterFactory.ValueAugmenter-
Nested classes/interfaces inherited from class org.apache.solr.response.transform.TransformerFactory
TransformerFactory.FieldRenamer
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectdefaultValueprotected Objectvalue-
Fields inherited from class org.apache.solr.response.transform.TransformerFactory
defaultFactories, defaultUserArgs
-
-
Constructor Summary
Constructors Constructor Description ValueAugmenterFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocTransformercreate(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)static ObjectgetObjectFrom(String val, String type)voidinit(org.apache.solr.common.util.NamedList<?> args)initwill be called just once, immediately after creation.
-
-
-
Method Detail
-
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)
-
create
public DocTransformer create(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)
- Specified by:
createin classTransformerFactory
-
-