//Definition of the index factory
RootBeanDefinition simpleIndexFactoryBeanDefinition = new RootBeanDefinition(
SimpleIndexFactoryBean.class);
simpleIndexFactoryBeanDefinition.setPropertyValues(new MutablePropertyValues());
simpleIndexFactoryBeanDefinition.getPropertyValues()
.addPropertyValue(DIRECTORY_ATTRIBUTE, new RuntimeBeanReference(FS_DIRECTORY_ID_PREFIX + id));
simpleIndexFactoryBeanDefinition.getPropertyValues()
.addPropertyValue(CREATE_ATTRIBUTE, new Boolean(create));
//Configuration of the analyzer of the factory
configureAnalyzer(element, simpleIndexFactoryBeanDefinition, parserContext);