Changed createIndex to actually use the MappingSchemes I have defined