migrated setting the merge factor to the default index accessor since the writers are created there. and in the new lucene version it is expected to be set with the index writer config.