factoryState.setDocumentBuildersIndexedEntities( new ConcurrentHashMap<Class<?>, EntityIndexBinding>() );
factoryState.setDocumentBuildersContainedEntities( new ConcurrentHashMap<Class<?>, DocumentBuilderContainedEntity<?>>() );
factoryState.setFilterDefinitions( new ConcurrentHashMap<String, FilterDef>() );
factoryState.setIndexHierarchy( new PolymorphicIndexHierarchy() );
factoryState.setConfigurationProperties( cfg.getProperties() );
factoryState.setServiceManager( new StandardServiceManager( cfg ) );
factoryState.setAllIndexesManager( new IndexManagerHolder() );
factoryState.setErrorHandler( createErrorHandler( cfg ) );
factoryState.setInstanceInitializer( cfg.getInstanceInitializer() );
factoryState.setTimingSource( new DefaultTimingSource() );
factoryState.setIndexMetadataComplete( cfg.isIndexMetadataComplete() );