sequence/xjoin/src/main/java/org/apache/solr/search/xjoin/XJoinSearchComponent.java
/**
   * Initialise the component by instantiating our factory class, and initialising
   * the join field.
   */
Initialise the component by instantiating our factory class, and initialising
the join field.
Initialise the component by instantiating our factory class and initialising the join field .
@Override
  @SuppressWarnings("rawtypes")
  public void init(NamedList args) {
    super.init(args);
    try {
      Class<?> factoryClass = Class.forName((String)args.get(XJoinParameters.INIT_RESULTS_FACTORY));
      factory = (XJoinResultsFactory<?>)factoryClass.newInstance();
      factory.init((NamedList)args.get(XJoinParameters.EXTERNAL_PREFIX));
    } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) {
      throw new RuntimeException(e);
    }
    joinField = (String)args.get(XJoinParameters.INIT_JOIN_FIELD);
  }
@ Override @ SuppressWarnings ( "rawtypes" ) public void init ( NamedList args ) { super . init ( args ) ; try { Class < ? > factoryClass = Class . forName ( ( String ) args . get ( XJoinParameters . INIT_RESULTS_FACTORY ) ) ; factory = ( XJoinResultsFactory < ? > ) factoryClass . newInstance ( ) ; factory . init ( ( NamedList ) args . get ( XJoinParameters . EXTERNAL_PREFIX ) ) ; } catch ( ClassNotFoundException | InstantiationException | IllegalAccessException e ) { throw new RuntimeException ( e ) ; } joinField = ( String ) args . get ( XJoinParameters . INIT_JOIN_FIELD ) ; }
Initialise the component by instantiating our factory class, and initialising
 the join field.
Initialise the component by instantiating our factory class and initialising the join field .