Iterate all known indexes and construct them.
		
		https://api.mongodb.com/python/current/api/pymongo/collection.html#pymongo.collection.Collection.create_indexes

def create_indexes(cls, target=None, recreate=False):
		"""Iterate all known indexes and construct them.
		
		https://api.mongodb.com/python/current/api/pymongo/collection.html#pymongo.collection.Collection.create_indexes
		"""
		
		# TODO: Nested indexes.
		
		results = []
		collection = cls.get_collection(target)
		
		if recreate:
			collection.drop_indexes()
		
		for index in cls.__indexes__.values():
			results.append(index.create(collection))
		
		return results