Change SetupFactory/LegacySolr db indexing to batch update and commit at the end