DOCS-2720 createIndexes command

Ready for merge! Reviewed and approved.