code: public void init(QueryHandlerEntry queryHandlerEntry) throws IOException, RepositoryConfigurationException
     {
        for (SimpleParameterEntry parameter : queryHandlerEntry.getParameters())
        {
           setParam(parameter.getName(), parameter.getValue());
        }
        /*rsync is used as local index recovery strategy*/
        if(SearchIndex.INDEX_RECOVERY_RSYNC_STRATEGY.equals(searchIndex.getIndexRecoveryStrategy()) ||
                SearchIndex.INDEX_RECOVERY_RSYNC_WITH_DELETE_STRATEGY.equals(searchIndex.getIndexRecoveryStrategy()))
        {
           searchIndex.setRsyncConfiguration(new RSyncConfiguration(queryHandlerEntry));
        }
     }
docs: Initialize parameters
  
  @param queryHandlerEntry
  @throws IOException
  @throws RepositoryConfigurationException