Class TransformerFactory

java.lang.Object
org.apache.solr.response.transform.TransformerFactory
All Implemented Interfaces:
NamedListInitializedPlugin
Direct Known Subclasses:
ChildDocTransformerFactory, CoreAugmenterFactory, DocIdAugmenterFactory, ElevatedMarkerFactory, ExcludedMarkerFactory, ExplainAugmenterFactory, GeoTransformerFactory, RawValueTransformerFactory, ShardAugmenterFactory, SubQueryAugmenterFactory, ValueAugmenterFactory

public abstract class TransformerFactory extends Object implements NamedListInitializedPlugin
New instance for each request
  • Field Details

  • Constructor Details

    • TransformerFactory

      public TransformerFactory()
  • Method Details

    • init

      public void init(org.apache.solr.common.util.NamedList<?> args)
      Description copied from interface: NamedListInitializedPlugin
      init will 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:
      init in interface NamedListInitializedPlugin
      Parameters:
      args - non-null list of initialization parameters (may be empty)
    • create

      public abstract DocTransformer create(String field, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)