Got you know! Yes that looks like a great cleanup. I guess we could even get rid of the _getIndexManagerFactory()_ method? Infinispan would be able to provide its own implementation.

The complexity is that Infinispan essentially only needs to override the return of

    org.hibernate.search.cfg.spi.IndexManagerFactory.createIndexManagerByName( "infinispan" )

but return the default value - whatever that is - if the name is not "infinispan".

Essentially it would need to decorate an instance of the _DefaultIndexManagerFactory_, today it's extending it and override this method:

    protected String aliasToFQN(final String alias) {
		// TODO Add the Infinispan implementor here
		return alias;
	}