creating indexes in map objects database