code: @Override
  	public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configuration) {
  
  		super.registerBeansForRoot(registry, configuration);
  
  		registeCustomConversionsIfNotPresent(registry, configuration);
  		registerSolrMappingContextIfNotPresent(registry, configuration);
  		registerSolrConverterIfNotPresent(registry, configuration);
  		registerSolrTemplateIfNotPresent(registry, configuration);
  
  		registerIfNotAlreadyRegistered(
  				() -> BeanDefinitionBuilder.genericBeanDefinition(SolrExceptionTranslator.class).getBeanDefinition(), registry,
  				"solrExceptionTranslator", configuration.getSource());
  	}
docs: /*
  (non-Javadoc)
  @see org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport#registerBeansForRoot(org.springframework.beans.factory.support.BeanDefinitionRegistry, org.springframework.data.repository.config.RepositoryConfigurationSource)